[Overview][Types][Classes][Index] |
Adds one or more (bitmap width / imagelist width) transparent bitmaps to the list.
Source position: imglist.pp line 172
public function TCustomImageList.AddMasked( |
Image: TBitmap; |
MaskColor: TColor |
):Integer; |
Image |
|
The bitmap to be added. |
MaskColor |
|
The color acting as transparant color. |
The index of the first added image, -1 if unsuccesful.
Every pixel of MaskColor will become transparent.
Image can contain multiple images of the same Width and Height. The image width must be a multiple of Width, and the image height must equal Height, else all old images in the list are discarded.
lazarus-ccr.sourceforge.net |