FMX.Layers3D.TAbstractLayer3D.SetBounds
Delphi
procedure SetBounds(X, Y, AWidth, AHeight: Single);
C++
void __fastcall SetBounds(float X, float Y, float AWidth, float AHeight);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | FMX.Layers3D.pas FMX.Layers3D.hpp |
FMX.Layers3D | TAbstractLayer3D |
Description
Sets the Position.X, Position.Y, Width, and Height properties all at once.
Use SetBounds to change all of the layer's boundary properties at one time. The same effect can be achieved by setting the Position.X, Position.Y, Width, and Height properties separately, but SetBounds changes all four properties at once, ensuring that the 3D layer will not repaint between changes.
Specify the values for the Position.X, Position.Y, Width, and Height properties as the values of the Position.X, Position.Y, AWidth, and AHeight parameters, respectively.