Vcl.Forms.TCustomForm.Canvas

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property Canvas: TCanvas read GetCanvas;

C++

__property Vcl::Graphics::TCanvas* Canvas = {read=GetCanvas};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Beschreibung

Ermöglicht den Zugriff auf die Zeichenfläche des Formulars.

Mit TCanvas können Sie in den Client-Bereich des Formulars zeichnen. Canvas wird oft in der Ereignisbehandlungsroutine für OnPaint verwendet.

Siehe auch

Codebeispiele