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

TCustomImageList.BkColor

The background color to use for transparent parts.

Declaration

Source position: imglist.pp line 206

public property TCustomImageList.BkColor : TColor
  read FBkColor
  write SetBkColor
  default clNone;

Description

BkColor is intended to speed up drawing of transparent images, on a background of known color (=BkColor). In this case the image can be drawn opaque, eliminating the need for really masking out and merging with existing background.