Sets the value for the TransparentMode property.
Source position: graphics.pp line 1320
protected procedure TRasterImage.SetTransparentMode( |
AValue: TTransparentMode |
); |
AValue |
|
New value for the property. |
No actions are performed in the method when AValue is the same as the existing value for the property.
TransparentMode is set to tmAuto when TransparentColor contains clDefault. Otherwise, the RequestTransparentColor method is called to get and store the color in the bottom-left pixel in the raw image data to the TransparentColor property.
ApplyTransparent is called to apply the effective transparency for the image based on the settings in Transparent, TransparentColor, and TransparentMode.
Modified in LCL version 4.2 to call the ApplyTransparent method.
|
Determines how transparent pixels are represented in the image. |
|
|
Color used to represent transparent pixels in the image. |
|
|
Gets the color used to represent transparent pixels in the image. |
|
|
Represents transparency modes used in raster images. |
|
|
The default color of a given control. |
|
|
Indicates whether some parts of the image are not opaque. |
| CT Web help |
| CodeTyphon Studio |