[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the color used to represent transparent pixels in the image.
Source position: graphics.pp line 1275
protected function TRasterImage.RequestTransparentColor: TColor; |
RequestTransparentColor is a TColor function used to get the color for transparent pixels in the image. It is called when the value tmFixed is assigned to the TransparentMode property.
RequestTransparentColor examines pixels in the raw image data to get the return value for the method. It gets the color for the pixel located at the bottom-left corner of the image (x = 0, y - Height-1).
When Empty returns True (raw image data is not available), the return value is clNone.
|
Determines how transparent pixels are represented in the image. |
|
|
Indicates if the graphic is empty (contains no data). |
|
|
Represents transparency modes used in raster images. |
lazarus-ccr.sourceforge.net |