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

TCustomImageList.InsertMasked

Adds one or more transparent bitmaps to the list.

Declaration

Source position: imglist.pp line 202

public procedure TCustomImageList.InsertMasked(

  Index: Integer;

  AImage: TCustomBitmap;

  MaskColor: TColor

);

Arguments

Index

  

The index of the inserted image.

AImage

  

The bitmap to be inserted.

MaskColor

  

The color acting as transparant color.

Description

MaskColor is the RGB color of the transparent pixels. Every occurence of a MaskColor pixel will be converted into a transparent pixel.

See also

TCustomImageList.Insert

  

Inserts one or more images into the list at the index position.

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