Rect Methods OpenCvSharp Class Library

The Rect type exposes the following members.

Methods

  NameDescription
Public methodContains(Point)
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodContains(Rect)
Determines if the specified rectangle is contained within the rectangular region defined by this Rectangle.
Public methodContains(Int32, Int32)
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodEquals(Object)
Specifies whether this object contains the same members as the specified Object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Rect)
Specifies whether this object contains the same members as the specified Object.
Public methodStatic memberFromLTRB
Creates a Rectangle structure with the specified edge locations.
Public methodGetHashCode
Returns a hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodInflate(Size)
Inflates this Rect by the specified amount.
Public methodInflate(Int32, Int32)
Inflates this Rect by the specified amount.
Public methodStatic memberInflate(Rect, Int32, Int32)
Creates and returns an inflated copy of the specified Rect structure.
Public methodIntersect(Rect)
Determines the Rect structure that represents the intersection of two rectangles.
Public methodStatic memberIntersect(Rect, Rect)
Determines the Rect structure that represents the intersection of two rectangles.
Public methodIntersectsWith
Determines if this rectangle intersects with rect.
Public methodToString
Converts this object to a human readable string.
(Overrides ValueTypeToString.)
Public methodUnion(Rect)
Gets a Rect structure that contains the union of two Rect structures.
Public methodStatic memberUnion(Rect, Rect)
Gets a Rect structure that contains the union of two Rect structures.
Top
See Also

Reference