dxGetAlphaState(TBitmap) Method
Identifies if the specified bitmap includes pixel transparency information (and whether it is in use).
Declaration
function dxGetAlphaState(const ABitmap: TBitmap): TdxAlphaState;
Parameters
Name | Type |
---|---|
ABitmap | TBitmap |
Returns
Type |
---|
TdxAlphaState |
Remarks
This function returns the specified image’s pixel transparency information state. Refer to the TdxAlphaState type description for detailed information on all available options.
The first overloaded dxGetAlphaState global function variant accepts a bitmap as an array of pixel colors while the second variant accepts an image stored in a TBitmap container.
See Also