TPositionedLayer

Ancestors

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 custom drawing.

Reference

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

See Also

Using Layers, TCustomImage32