System.Types.Rect
Delphi
function Rect(Left, Top, Right, Bottom: Integer): TRect;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas | System.Types | System.Types |
Description
Creates a TRect structure from a set of coordinates. Call Rect to create a TRect that represents the rectangle with the specified coordinates. Use Rect to construct parameters for functions that require TRect, rather than setting up local variables for each parameter.