FMX.Controls.TOnPaintEvent
C++
typedef void __fastcall (__closure *TOnPaintEvent)(System::TObject* Sender, Fmx::Graphics::TCanvas* Canvas, const System::Types::TRectF &ARect);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | FMX.Controls.hpp | FMX.Controls | FMX.Controls |
Description
Procedural type that is used for all OnPaint and OnPainting event types.
A TOnPaintEvent event handler must be called with the following parameters:
Sender--a pointer to the object that called this function.Canvas--the drawing surface.ARect--the local rectangle for painting the control.