System.Types.TRect Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
CenteredRectpublicReturns a centered rectangle.
CenterPointpublicReturns the center point of the rectangle.
ContainspublicTests whether a point or a rectangle is located within the rectangle.
CreatepublicCreates a TRect rectangle.
EmptypublicCreates an empty TRect object.
GetHeightpublicReturns the height of the rectangle.
GetLocationpublicReturns the location of a rectangle.
GetSizepublicReturns the size of the rectangle.
GetWidthpublicReturns the width of the rectangle.
InflatepublicInflates the dimensions of the rectangle.
initpublicInitializes a TRect object.
IntersectpublicCalculates the intersection between two rectangles.
IntersectRectpublicTests whether two rectangles intersect.
IntersectspublicTests whether two rectangles intersect.
IntersectsWithpublicTests whether two rectangles intersect.
IsEmptypublicTests whether the rectangle is empty.
NormalizepublicReturns a normalized rectangle.
NormalizeRectpublicNormalizes the TRect object.
OffsetpublicAdds horizontal and vertical specified offsets.
operator !=publicCompares two rectangles for inequality.
operator *publicCalculates the intersection of two rectangles.
operator *=publicProvides the intersection of two rectangles.
operator +publicCalculates the union between two rectangles.
operator +=publicAdds values to a rectangle.
operator ==publicCompares two rectangles for equality.
operator AdditionpublicCalculates the Union of two rectangles.
operator EqualitypublicTests whether two rectangles are equal.
operator InequalitypublicTests whether two rectangles are unequal.
operator MultiplypublicCalculates the intersection of two rectangles.
OverlapspublicTests whether this rectangle overlaps with the specified rectangle.
PtInRectpublicTests whether a specified point is within the rectangle.
SetHeightpublicSets the height of the rectangle.
SetLocationpublicSets the location of a rectangle.
SetSizepublicSets the width and height of the rectangle.
SetWidthpublicSets the width of the rectangle.
SplitRectpublicReturns a rectangle obtained from the current rectangle, applying the specified splitting rule.
SubtractRectpublicChanges the dimensions of a rectangle (R1) by subtracting another rectangle (R2) from it.
UnionpublicCalculates the union between two rectangles.
UnionRectpublicUnion of two rectangles.