Click or drag to resize

RectContains Method (Int32, Int32)

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

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public bool Contains(
	int x,
	int y
)

Parameters

x
Type: SystemInt32
x-coordinate of the point
y
Type: SystemInt32
y-coordinate of the point

Return Value

Type: Boolean
See Also