Sign in Join
FPDoc Onlineexperiment

TImageList.BkColor property

Member of TImageListpublishedIn unit Controls

Specifies the background color used for transparent parts of images.

Declaration

pascal
property BkColor:;

Description

BkColor is a TColor property that specifies the background color used for transparent parts of images in the image list. The default value for the property is clNone. Changing the value in BkColor causes the internal Changed flag to be set, and the Change method is called to perform change notifications.

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

The value in BkColor is used in TCustomImageListResolution methods like Draw and DrawOverlay.

This description is the one of ImgList.TCustomImageList.BkColor.

See also

  • Change
  • Draw
  • DrawOverlay

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.