System.Types.TRectF.SetLocation
Delphi
procedure SetLocation(const X, Y: Single); overload;
procedure SetLocation(const Point: TPointF); overload;
C++
void SetLocation(float X, float Y) _ALWAYS_INLINE {
void SetLocation(const TPointF& p) _ALWAYS_INLINE {
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Types.pas SystemTypes.h |
System.Types | TRectF |
Description
Sets the location of a rectangle.
SetLocation sets the location of a rectangle to the (X
, Y
) or point locations received as parameters. The location of the rectangle is represented by its upper-left corner.