From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function Rect(Left, Top, Right, Bottom: Integer): TRect;


Type Visibility Source Unit Parent
function public System.Types.pas System.Types System.Types


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.

See Also