Skip to content

Reference for unit 'Types': Procedures and functionsΒΆ

Procedure/function Description
Bounds Create a rectangle, given a position and size.
CenteredRect
CenterPoint Return the center point of a rectangle.
EqualRect Check if two rectangles are equal.
InflateRect Increase the rectangle in size, keeping it centered.
IntersectRect Return the intersection of 2 rectangles.
IntersectRectF
IsRectEmpty Check whether a rectangle is empty.
MinPoint
MultiplyRect
NormalizeRect
NormalizeRectF
OffsetRect Offset the rectangle.
Point Create a point.
PointF
PtInRect Check whether a point is inside a rectangle.
Rect Create a rectangle record.
RectCenter
RectF
RectHeight
RectWidth
ScalePoint
Size Return the size of the rectangle.
SplitRect
UnionRect Return the union of 2 rectangles.
UnionRectF