TTMSFNCBloxRect Record
Represents a rectangle in 2D space defined by floating-point edge coordinates, with convenience access to its corner points.
API unit family: TMSFNCBloxCoreTypes
Syntax
TTMSFNCBloxRect = record
Fields and properties
| Name | Type | Description |
|---|---|---|
Bottom |
double |
Coordinate of the bottom edge. |
BottomRight |
TTMSFNCBloxPoint |
Gets or sets the bottom-right corner of the rectangle as a point. |
Left |
double |
Coordinate of the left edge. |
Right |
double |
Coordinate of the right edge. |
Top |
double |
Coordinate of the top edge. |
TopLeft |
TTMSFNCBloxPoint |
Gets or sets the top-left corner of the rectangle as a point. |
Methods
| Name | Description |
|---|---|
| GetBottomRight | Returns the bottom-right corner of the rectangle as a point. |
| GetTopLeft | Returns the top-left corner of the rectangle as a point. |
| SetBottomRight | Sets the bottom-right corner of the rectangle, updating the right and bottom edges from the supplied point. |
| SetTopLeft | Sets the top-left corner of the rectangle, updating the left and top edges from the supplied point. |