Vcl.Controls.TGraphicControl.Paint

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure Paint; virtual;

C++

virtual void __fastcall Paint();

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TGraphicControl

説明

コントロールの表面をレンダリングします。

Paint メソッドは,軽量コントロールがその表示領域の更新を必要とするときに自動的に表示されます。Paint メソッド内のコードは,Canvas プロパティを使ってコントロールの表面をレンダリングします。

TGraphicControl で実装した Paint は何もしません。下位コントロールクラス内の Paint メソッドにより,特定のレンダリングロジックが提供されます。

関連項目