Sign in Join
FPDoc Onlineexperiment

TDrawingStyle enumeration

In unit ImgList

Defines drawing styles for images.

Declaration

pascal
TDrawingStyle = (dsFocus,dsSelected,dsNormal,dsTransparent)

Description

TDrawingStyle is an enumerated type with values that control the drawing style used for images in TCustomImageList. TDrawingStyle affects the blending of the image with its background color when a mask is used in the image. These values have no significance when a mask is not present in the image. TDrawingStyle corresponds to the style values used in the WIN ImageList_Draw API.

Values

dsFocusDraws the image background using its focused color.
dsSelectedDraws the image background using its selected color.
dsNormalDraw using BkColor for the background, or transparent if BkColor is clNone.
dsTransparentAlways draw transparently, ignore BkColor and BlendColor.

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