TPositionedLayer

Graphics32

TPositionedLayer

Hierarchy

TPersistent

   |

TNotifiablePersistent

   |

TCustomLayer

Description

TPositionedLayer is the base class for layers that are positioned withing the boundaries of their container (TCustomImage32 or its descendant). The position and size is determined by the Location property.

When TPositionedLayer performs its HitTest, those points inside the rectangle returned by GetAdjustedLocation pass the test.

The class does not perform any drawing itself, however it is capable of calling the OnPaint event, where you can perform cutom drawing.

Reference

Properties Methods Events
In TPositionedLayer:
Location Create
Scaled GetAdjustedLocation
GetAdjustedRect
In TCustomLayer:
Cursor BringToFront OnHitTest
Index Changed OnMouseDown
LayerCollection Destroy OnMouseMove
LayerOptions HitTest OnMouseUp
LayerStates SendToBack OnPaint
MouseEvents Update
Tag
Visible
In TNotifiablePersistent:
UpdateCount BeginUpdate OnChange
EndUpdate

See Also

TCustomImage32, Using Layers