FMX.Layers3D.TSolidLayer3D.Margins
Delphi
property Margins: TBounds read GetMargins write SetMargins;
C++
__property Margins;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FMX.Layers3D.pas FMX.Layers3D.hpp |
FMX.Layers3D | TSolidLayer3D |
Description
Specifies the 3D layer's margins. {{#multireplace:FMX.Layers3D.TSolidLayer3D.Margins|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Layers3D.TAbstractLayer3D.Margins|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Layers3D.TAbstractLayer3D.Margins|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Specifies the 3D layer's margins.
The Margins of a 3D layer are the distances (in pixels) from each edge (top, left, bottom, right) to another control within the same Parent or to the edge of its Parent.
If a margin is not 0, no other control will come closer to the 3D layer than the specified distance. If the distance from a Parent edge to the corresponding control edge is smaller than the specified Margins for that edge, the control is repositioned and resized, if necessary, to maintain the specified distance.