FMX.Objects.TPaintEvent
C++
typedef void __fastcall (__closure *TPaintEvent)(System::TObject* Sender, Fmx::Graphics::TCanvas* Canvas);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| typedef | public | 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). |