FMX.Objects.TPaintEvent
Delphi
TPaintEvent = procedure(Sender: TObject; Canvas: TCanvas) of object;
C++
typedef void __fastcall (__closure *TPaintEvent)(System::TObject* Sender, Fmx::Graphics::TCanvas* Canvas);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | FMX.Objects |
Description
TPaintEvent is the method pointer type used to define OnPaint events.
Event handlers of the TPaintEvent type have the following parameters:
Parameter | Description |
---|---|
Sender
|
The FMX control that called the event handler. |
Canvas
|
The drawing surface of the object to be paint (TPaintBox). |