FMX.Layers3D.TSolidLayer3D.Margins

From RAD Studio API Documentation
Jump to: navigation, search

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.

FMX.Layers3D.TSolidLayer3D.Margins inherits from FMX.Layers3D.TAbstractLayer3D.Margins. All content below this line refers to FMX.Layers3D.TAbstractLayer3D.Margins.

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.

See Also