Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TFloatRectType

TFloatRect

Rectangle structure using single-precision floating-point coordinates.

Declaration ​

pascal
type
  TFloatRect = record
    case Integer of
      0: (Left, Top, Right, Bottom: TFloat);
      1: (TopLeft, BottomRight: TFloatPoint);
  end;
  PFloatRect = ^TFloatRect;

Description ​

TFloatRect represents a rectangle using single-precision floating-point coordinates (TFloat).

Variant Fields ​

case 0

FieldTypeDescription
LeftTFloatSingle precision X-coordinate of left edge.
TopTFloatSingle precision Y-coordinate of top edge.
RightTFloatSingle precision X-coordinate of right edge.
BottomTFloatSingle precision Y-coordinate of bottom edge.

case 1

FieldTypeDescription
TopLeftTFloatPointTop-left point of rectangle.
BottomRightTFloatPointBottom-right point of rectangle.