Rect2f Structure |
[Missing <summary> documentation for "T:OpenCvSharp.Rect2f"]
Namespace: OpenCvSharp
The Rect2f type exposes the following members.
Name | Description | |
---|---|---|
Rect2f(Point2f, Size2f) |
Constructor
| |
Rect2f(Single, Single, Single, Single) |
Constructor
|
Name | Description | |
---|---|---|
Bottom |
Gets the y-coordinate that is the sum of the Y and Height property values of this Rect2f 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 Rect2f 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 Rect2f structure.
| |
Size |
Size of the rectangle [CvSize(Width, Height)]
| |
Top |
Gets the y-coordinate of the top edge of this Rect2f structure.
| |
TopLeft |
Coordinate of the left-most rectangle corner [Point2f(X, Y)]
|
Name | Description | |
---|---|---|
Contains(Point2f) |
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
| |
Contains(Rect2f) |
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) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
Equals(Rect2f) | Indicates whether the current object is equal to another object of the same type. | |
FromLTRB | ||
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (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 Rect2f structure.
| |
Intersect(Rect2f) |
Determines the Rect2f structure that represents the intersection of two rectangles.
| |
Intersect(Rect2f, Rect2f) |
Determines the Rect2f structure that represents the intersection of two rectangles.
| |
IntersectsWith |
Determines if this rectangle intersects with rect.
| |
ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString.) | |
Union(Rect2f) |
Gets a Rect2f structure that contains the union of two Rect2f structures.
| |
Union(Rect2f, Rect2f) |
Gets a Rect2f structure that contains the union of two Rect2f structures.
|
Name | Description | |
---|---|---|
Addition(Rect2f, Point2f) |
Shifts rectangle by a certain offset
| |
Addition(Rect2f, Size2f) |
Expands or shrinks rectangle by a certain amount
| |
BitwiseAnd |
Determines the Rect2f structure that represents the intersection of two rectangles.
| |
BitwiseOr |
Gets a Rect2f structure that contains the union of two Rect2f structures.
| |
Equality |
Compares two Rect2f objects. The result specifies whether the members of each object are equal.
| |
Inequality |
Compares two Rect2f objects. The result specifies whether the members of each object are unequal.
| |
Subtraction(Rect2f, Point2f) |
Shifts rectangle by a certain offset
| |
Subtraction(Rect2f, Size2f) |
Expands or shrinks rectangle by a certain amount
|
Name | Description | |
---|---|---|
Empty |
Represents a Rect2f structure with its properties left uninitialized.
| |
Height | ||
Width | ||
X | ||
Y |