FMX.Types.IAlignableObject.SetBounds
Delphi
procedure SetBounds(X, Y, AWidth, AHeight: Single);
C++
virtual void __fastcall SetBounds(float X, float Y, float AWidth, float AHeight) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IAlignableObject |
Description
Sets the boundaries of the alignable objects.
Implement SetBoundsWidth to set the value of the boundaries of the alignable object. The boundary properties of an alignable object are: Left, Top, Height, and Width. The Left and Top properties are used as the coordinates of the upper-left corner of the object.
X
and Y
should specify the coordinates of the upper-left corner of the object.
AWidth
and AHeight
should specify the Width and
Height properties of the object.