Vcl.VirtualImageList.TVirtualImageList.Draw
Delphi
procedure Draw(Canvas: TCanvas; X, Y: Integer; Name: String;
Enabled: Boolean = True); overload;
C++
HIDESBASE void __fastcall Draw(Vcl::Graphics::TCanvas* Canvas, int X, int Y, System::UnicodeString Name, bool Enabled = true)/* overload */;
inline void __fastcall Draw(Vcl::Graphics::TCanvas* Canvas, int X, int Y, int Index, bool Enabled = true){ Vcl::Imglist::TCustomImageList::Draw(Canvas, X, Y, Index, Enabled); }
inline void __fastcall Draw(Vcl::Graphics::TCanvas* Canvas, int X, int Y, int Index, Vcl::Imglist::TDrawingStyle ADrawingStyle, Vcl::Imglist::TImageType AImageType, bool Enabled = true){ Vcl::Imglist::TCustomImageList::Draw(Canvas, X, Y, Index, ADrawingStyle, AImageType, Enabled); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.VirtualImageList.pas Vcl.VirtualImageList.hpp |
Vcl.VirtualImageList | TVirtualImageList |
Description
Draws the image specified by the Index parameter onto the provided Canvas.
Use the Draw method to draw one of the images in the image list onto a specified canvas.