[Missing <summary> documentation for "T:OpenCvSharp.CPlusPlus.Rectf"]
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The Rectf type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Rectf(Point2f, Size2f) | Initializes a new instance of the Rectf class | |
Rectf(Single, Single, Single, Single) | Initializes a new instance of the Rectf class |
Properties
Name | Description | |
---|---|---|
Bottom |
Gets the y-coordinate that is the sum of the Y and Height property values of this CvRect structure.
| |
BottomRight |
Coordinate of the right-most rectangle corner [Point2f(X+Width, Y+Height)]
| |
Left |
Gets the x-coordinate of the left edge of this CvRect structure.
| |
Location |
Coordinate of the left-most rectangle corner [Point2f(X, Y)]
| |
Right |
Gets the x-coordinate that is the sum of X and Width property values of this CvRect structure.
| |
Size |
Size of the rectangle [CvSize(Width, Height)]
| |
Top |
Gets the y-coordinate of the top edge of this CvRect structure.
| |
TopLeft |
Coordinate of the left-most rectangle corner [Point2f(X, Y)]
|
Methods
Name | Description | |
---|---|---|
Contains(Point2f) |
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
| |
Contains(Rectf) |
Determines if the specified rectangle is contained within the rectangular region defined by this Rectangle.
| |
Contains(Single, Single) |
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
| |
Equals(Object) |
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).) | |
Equals(Rectf) |
Specifies whether this object contains the same members as the specified Object.
| |
FromLTRB | ||
GetHashCode |
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.) | |
GetType | (Inherited from Object.) | |
Inflate(Size2f) |
Inflates this Rect by the specified amount.
| |
Inflate(Single, Single) |
Inflates this Rect by the specified amount.
| |
Inflate(Rect, Int32, Int32) |
Creates and returns an inflated copy of the specified CvRect structure.
| |
Intersect(Rectf) |
Determines the CvRect structure that represents the intersection of two rectangles.
| |
Intersect(Rectf, Rectf) |
Determines the CvRect structure that represents the intersection of two rectangles.
| |
IntersectsWith |
Determines if this rectangle intersects with rect.
| |
ToString |
Converts this object to a human readable string.
(Overrides ValueTypeToString.) | |
Union(Rectf) |
Gets a CvRect structure that contains the union of two CvRect structures.
| |
Union(Rectf, Rectf) |
Gets a CvRect structure that contains the union of two CvRect structures.
|
Operators
Name | Description | |
---|---|---|
Addition(Rectf, Point2f) |
Shifts rectangle by a certain offset
| |
Addition(Rectf, Size2f) |
Expands or shrinks rectangle by a certain amount
| |
BitwiseAnd |
Determines the CvRect structure that represents the intersection of two rectangles.
| |
BitwiseOr |
Gets a CvRect structure that contains the union of two CvRect structures.
| |
Equality |
Compares two Rectf objects. The result specifies whether the members of each object are equal.
| |
Inequality |
Compares two Rectf objects. The result specifies whether the members of each object are unequal.
| |
Subtraction(Rectf, Point2f) |
Shifts rectangle by a certain offset
| |
Subtraction(Rectf, Size2f) |
Expands or shrinks rectangle by a certain amount
|
Fields
Name | Description | |
---|---|---|
Empty |
Represents a CvRect structure with its properties left uninitialized.
| |
Height | ||
SizeOf |
sizeof(Rect)
| |
Width | ||
X | ||
Y |
See Also