CenterPoint
Return the center point of a rectangle
Declaration
Source position: types.pp line 339
function CenterPoint(const Rect: TRect) : TPoint;
Description
CenterPoint returns the center point of the rectangle Rect.
See also
Name | Description |
---|---|
InflateRect | Increase the rectangle in size, keeping it centered |
IntersectRect | Return the intersection of 2 rectangles |
IsRectEmpty | Check whether a rectangle is empty |
IsRectEmpty | Check whether a rectangle is empty |
OffsetRect | Offset the rectangle |
PtinRect | Check whether a point is inside a rectangle. |
Size | Return the size of the rectangle |