Skip to main content

dxAlphaColorToRGBQuad(TdxAlphaColor) Method

Converts a specified TdxAlphaColor value to the TRGBQuad type.

Declaration

function dxAlphaColorToRGBQuad(AColor: TdxAlphaColor): TRGBQuad;

Parameters

Name Type
AColor TdxAlphaColor

Returns

Type
TRGBQuad

Remarks

This function initializes the rgbBlue, rgbGreen, rgbRed, and rgbReserved fields of the resulting TRGBQuad value with the blue, green, red, and alpha component values obtained from the color passed as the AColor parameter.

See Also