RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ImgList.TDrawingStyle Enumeration

TDrawingStyle indicates the style to use when rendering an image from an image list.

Pascal
TDrawingStyle = (
  dsFocus,
  dsSelected,
  dsNormal,
  dsTransparent
);
C++
enum TDrawingStyle {
  dsFocus,
  dsSelected,
  dsNormal,
  dsTransparent
};

TDrawingStyle describes how to render an image from an image list component. The following table describes the possible values:

Value 
Meaning 
dsFocus  
Draws the image blending 25% with the color specified by the BlendColor property. This only affects image lists that contain masks.  
dsSelected  
Draws the image blending 50% with the color specified by the BlendColor property. This only affects image lists that contain masks.  
dsNormal  
Draws the image using the color specified in the BkColor property. If the BkColor is clNone, the image is drawn transparently using the mask.  
dsTransparent  
Draws using the mask regardless of the BkColor setting.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!