FMX.ImgList.TCustomImageList.Draw
Delphi
function Draw(const Canvas: TCanvas; const Rect: TRectF; const Index: Integer; const Opacity: Single = 1): Boolean;
C++
bool __fastcall Draw(Fmx::Graphics::TCanvas* const Canvas, const System::Types::TRectF &Rect, const int Index, const float Opacity = 1.000000E+00f);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FMX.ImgList.pas FMX.ImgList.hpp |
FMX.ImgList | TCustomImageList |
説明
指定された Canvas
上へ、対象のコレクション内にある Index
の項目から、イメージを描画します。
Draw は、画像の描画が済むと True
を返します。
以下の表に、このメソッドの入力パラメータの意味を示します。
パラメータ | 意味 |
Canvas
|
画像を描画するキャンバス。 |
Rect
|
画像が内接する長方形。 |
Index
|
対象のコレクション内にあるイメージを表す 0 から始まる序数。 |
Opacity
|
描画される画像の透明度。デフォルトは 1 ('完全に不透明' の意味)です。
|