ConversionExtensions.ToARGB
Extension Method in ConversionExtensions
Declaration
public static ARGB ToARGB(this Color color)
Description
Converts the color to ARGB (alpha, red, green, blue) components in the range [0..1].
Parameters
color | The color to convert. |
Returns
ARGB | The ARGB components of the color. |
Overload
Declaration
public static ARGB ToARGB(this Color color, float alpha)
Description
Converts the color to ARGB (alpha, red, green, blue) components in the range [0..1].
Parameters
color | The color to convert. |
alpha | The alpha component in the range [0..1]. |
Returns
ARGB | The ARGB components of the color. |