System.Types.TRect Methods
InheritedProtected
CenteredRect | public | Returns a centered rectangle. |
CenterPoint | public | Returns the center point of the rectangle. |
Contains | public | Tests whether a point or a rectangle is located within the rectangle. |
Create | public | Creates a TRect rectangle. |
Empty | public | Creates an empty TRect object. |
GetHeight | public | Returns the height of the rectangle. |
GetLocation | public | Returns the location of a rectangle. |
GetSize | public | Returns the size of the rectangle. |
GetWidth | public | Returns the width of the rectangle. |
Inflate | public | Inflates the dimensions of the rectangle. |
init | public | Initializes a TRect object. |
Intersect | public | Calculates the intersection between two rectangles. |
IntersectRect | public | Tests whether two rectangles intersect. |
Intersects | public | Tests whether two rectangles intersect. |
IntersectsWith | public | Tests whether two rectangles intersect. |
IsEmpty | public | Tests whether the rectangle is empty. |
Normalize | public | Returns a normalized rectangle. |
NormalizeRect | public | Normalizes the TRect object. |
Offset | public | Adds horizontal and vertical specified offsets. |
operator != | public | Compares two rectangles for inequality. |
operator * | public | Calculates the intersection of two rectangles. |
operator *= | public | Provides the intersection of two rectangles. |
operator + | public | Calculates the union between two rectangles. |
operator += | public | Adds values to a rectangle. |
operator == | public | Compares two rectangles for equality. |
operator Addition | public | Calculates the Union of two rectangles. |
operator Equality | public | Tests whether two rectangles are equal. |
operator Inequality | public | Tests whether two rectangles are unequal. |
operator Multiply | public | Calculates the intersection of two rectangles. |
Overlaps | public | Tests whether this rectangle overlaps with the specified rectangle. |
PtInRect | public | Tests whether a specified point is within the rectangle. |
SetHeight | public | Sets the height of the rectangle. |
SetLocation | public | Sets the location of a rectangle. |
SetSize | public | Sets the width and height of the rectangle. |
SetWidth | public | Sets the width of the rectangle. |
SplitRect | public | Returns a rectangle obtained from the current rectangle, applying the specified splitting rule. |
SubtractRect | public | Changes the dimensions of a rectangle (R1 ) by subtracting another rectangle (R2 ) from it. |
Union | public | Calculates the union between two rectangles. |
UnionRect | public | Union of two rectangles. |