Skip to main content

dxGetAlpha(TdxAlphaColor) Method

Extracts the alpha value (also called transparency level) from a specified color.

Declaration

function dxGetAlpha(AColor: TdxAlphaColor): Byte;

Parameters

Name Type
AColor TdxAlphaColor

Returns

Type
Byte

Remarks

Call the dxGetAlpha, dxGetBlue, dxGetGreen, and dxGetRed functions to extract the alpha, blue, green, and red component values from a TdxAlphaColor value passed as the AColor parameter.

See Also