Table of Contents

Method Contains

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Contains(int, int)

Determines if the specified point is contained within the rectangular region defined by this Rectangle.

public readonly bool Contains(int x, int y)

Parameters

x int

x-coordinate of the point

y int

y-coordinate of the point

Returns

bool

Contains(Point)

Determines if the specified point is contained within the rectangular region defined by this Rectangle.

public readonly bool Contains(Point pt)

Parameters

pt Point

point

Returns

bool

Contains(Rect)

Determines if the specified rectangle is contained within the rectangular region defined by this Rectangle.

public readonly bool Contains(Rect rect)

Parameters

rect Rect

rectangle

Returns

bool