Vcl.Skia.TSkCustomControl.Paint
Delphi
procedure Paint; override; final;
C++
virtual void __fastcall Paint() _FINAL_ATTRIBUTE;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
class protected | Vcl.Skia.pas Vcl.Skia.hpp |
Vcl.Skia | TSkCustomControl |
Description
Renders the control's surface.
Vcl.Skia.TSkCustomControl.Paint inherits from Vcl.Controls.TGraphicControl.Paint. All content below this line refers to Vcl.Controls.TGraphicControl.Paint.
Renders the control's surface.
The Paint method is called automatically when a lightweight control needs to update its display area. Code in the Paint method uses the Canvas property to render the control surface.
As implemented in TGraphicControl, Paint does nothing. Specific rendering logic is provided by Paint methods in descendent control classes.