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.
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 |
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024