[Overview][Types][Classes][Index] Reference for unit 'ImgList' (#lcl)

TCustomImageList.Draw

Paint an image

Declaration

Source position: imglist.pp line 178

public procedure TCustomImageList.Draw(

  ACanvas: TCanvas;

  AX: Integer;

  AY: Integer;

  AIndex: Integer;

  AEnabled: Boolean = True

); overload;

procedure TCustomImageList.Draw(

  ACanvas: TCanvas;

  AX: Integer;

  AY: Integer;

  AIndex: Integer;

  ADrawEffect: TGraphicsDrawEffect

); overload;

procedure TCustomImageList.Draw(

  ACanvas: TCanvas;

  AX: Integer;

  AY: Integer;

  AIndex: Integer;

  ADrawingStyle: TDrawingStyle;

  AImageType: TImageType;

  AEnabled: Boolean = True

); overload;

procedure TCustomImageList.Draw(

  ACanvas: TCanvas;

  AX: Integer;

  AY: Integer;

  AIndex: Integer;

  ADrawingStyle: TDrawingStyle;

  AImageType: TImageType;

  ADrawEffect: TGraphicsDrawEffect

); virtual; overload;

Arguments

AIndex

  

The image index.

AEnabled

  

If False, draw the image disabled (dithered).

Arguments

AIndex

  

The image index.

Arguments

AIndex

  

The image index.

AEnabled

  

If False, draw the image disabled (dithered).

Arguments

AIndex

  

The image index.

Description

Paints the image specified by AIndex on Canvas at position AX, AY.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.