Show: Delphi
C++
Display Preferences
FMX.Types.TOnPaintEvent
From XE3 API Documentation
C++
typedef void __fastcall (__closure *TOnPaintEvent)(System::TObject* Sender, TCanvas* Canvas, const System::Types::TRectF &ARect);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | FMX.Types.hpp | FMX.Types | FMX.Types |
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.