Vcl.Direct2D.TDirect2DCanvas.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, Vcl::Graphics::TGraphic* Graphic)/* overload */;
virtual void __fastcall Draw(int X, int Y, Vcl::Graphics::TGraphic* Graphic, System::Byte Opacity)/* overload */;

プロパティ

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

説明

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

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

関連項目