property Location: TFloatRect;


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 after scaling may be obtained through GetAdjustedLocation method.

See Also

Using Layers, Rectangle Types, GetAdjustedLocation, Scaled