TdxAlphaColor Type
A value that stores red, green, blue, and alpha (opacity) color components.
Declaration
TdxAlphaColor = type System.Types.DWORD;
Referenced Class
Type | Description |
---|---|
DWORD | A 4-byte unsigned integer value that stores color components in ARGB (Alpha, Red, Green, and Blue) format. This color format corresponds to the ARGB color mapping in GDI+. |
Remarks
The TdxAlphaColor
type is a TColor counterpart with support for transparency. All DevExpress components that allow you to specify transparent colors use this type.
TdxAlphaColor-Related APIs
The TdxAlphaColors record declares multiple constants of the TdxAlphaColor
type that correspond to predefined colors whose alpha component value is 255
.
In addition, you can call the following dedicated global methods to create TdxAlphaColor
values in code and work with them:
- dxAlphaColorToColor
- dxAlphaColorToRGBQuad
- Converts a specified TdxAlphaColor value to the TRGBQuad type.
- dxColorToAlphaColor
- Converts a specified TColor value to the TdxAlphaColor type.
- dxMakeAlphaColor
- dxGetAlpha
- Extracts the alpha value (also called transparency level) from a specified color.
- dxGetBlue
- Extracts the blue color component value from a specified color.
- dxGetGreen
- Extracts the green color component value from a specified color.
- dxGetRed
- Extracts the red color component value from a specified color.
See Also