Creates a TRect structure from the top-left coordinate, and width and height values of a rectangle.
function Bounds(ALeft: Integer; ATop: Integer; AWidth: Integer; AHeight: Integer): TRect;
TRect Bounds(int ALeft, int ATop, int AWidth, int AHeight);
Classes
Call Bounds to create a TRect that represents the rectangle with the specified values. Use Rect to construct parameters for functions that require TBounds, rather than setting up local variables for each parameter.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|