Back to Devexpress

dxGetAlpha(TdxAlphaColor) Method

vcl-dxcoregraphics-dot-dxgetalpha-x28-3f878a99-x29.md

latest936 B
Original Source

dxGetAlpha(TdxAlphaColor) Method

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

Declaration

delphi
function dxGetAlpha(AColor: TdxAlphaColor): Byte;

Parameters

NameType
AColorTdxAlphaColor

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

TdxAlphaColors.Alpha

dxCoreGraphics Unit