API:Vcl.Graphics.TCanvas.Draw

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

Delphi

procedure Draw(X, Y: Integer; Graphic: TGraphic); overload; override;
procedure Draw(X, Y: Integer; Graphic: TGraphic; Opacity: Byte); overload; override;

C++

virtual void __fastcall Draw(int X, int Y, TGraphic* Graphic)/* overload */;
virtual void __fastcall Draw(int X, int Y, TGraphic* Graphic, System::Byte Opacity)/* overload */;
inline void __fastcall  Draw(const Winapi::Windows::TPoint &Point, TGraphic* Graphic){ TCustomCanvas::Draw(Point, Graphic); }
inline void __fastcall  Draw(const Winapi::Windows::TPoint &Point, TGraphic* Graphic, System::Byte Opacity){ TCustomCanvas::Draw(Point, Graphic, Opacity); }

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCanvas

説明

キャンバス上に、Graphic パラメータで指定された画像を、座標(X,Y)で指定された位置にレンダリングします。

Vcl.Graphics.TCanvas.Draw は Vcl.Graphics.TCustomCanvas.Draw を継承しています。以下の内容はすべて Vcl.Graphics.TCustomCanvas.Draw を参照しています。

キャンバス上に、Graphic パラメータで指定された画像を、座標(X,Y)で指定された位置にレンダリングします。

キャンバス上でグラフィックの描画を実装するために Draw メソッドをオーバーライドします。Draw はグラフィックの Draw メソッドを呼び出します。画像はグラフィックのサイズで決まる矩形、つまり右上隅が点(X,Y)にレンダリングされます。

関連項目