TCustomLayer.OnPaint

property OnPaint: TPaintLayerEvent;

type TPaintLayerEvent = procedure(Sender: TObject; Buffer: TBitmap32) of object;

Description

Provide a handler for this event to paint the layer. Use the TBitmap32 instance indicated by the Buffer parameter to paint the layer.

See Also

Using Layers, TBitmap32