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

TCustomImageList.ReplaceMasked

ReplaceMasked - replaces the indexed image with the image given.

Declaration

Source position: imglist.pp line 207

public procedure TCustomImageList.ReplaceMasked(

  Index: Integer;

  NewImage: TCustomBitmap;

  MaskColor: TColor

);

Arguments

Index

  

The index of the replaced image.

NewImage

  

A bitmap image.

MaskColor

  

The color acting as transparant color.

Description

Every pixel of MaskColor will be converted to transparent.

See also

TCustomImageList.InsertMasked

  

Adds one or more transparent bitmaps to the list.

TCustomImageList.AddMasked

  

Adds one or more (bitmap width / imagelist width) transparent bitmaps to the list.

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