[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ImgList' (#lcl)

# TCustomImageList.ImageType

Controls whether images are drawn with or without a mask.

## Declaration

Source position: imglist.pp line 424

`public property TCustomImageList.ImageType : TImageType read FImageType write FImageType default itImage;`

## Description

ImageType is a TImageType property that controls whether images are drawn with or without a mask. The value in ImageType is used as the default value for arguments passed to widgetset classes in the Draw, DrawOverlay, and StretchDraw methods.

Set the value in ImageType to itMask when a mask that defines the transparent areas in an image is stored in the raw image data. The default value for the property is itImage.

## See also

TCustomImageList.Draw |  | Renders an image to the specified canvas using a drawing style or effect.
TCustomImageList.DrawOverlay |  | Renders an image with an overlay to the specified canvas.
TCustomImageList.StretchDraw |  | Draws an image stretched to the dimensions for the target rectangle.