Location

Graphics32

TPositionedLayer.Location

property Location: TFloatRect;

Description

Determines layer's position and size.

Note, that the layer is not constrained to lie entirely within the rectangle specified by Location. It may perform drawing outside the Location and may catch mouse messages from other areas.

When the layer is Scaled, its actual location its position after scaling may be obtained through GetAdjustedLocation method.

See Also

GetAdjustedLocation, Scaled, TFloatRect, Using Layers