ARGB Constructor
Constructor in ARGB
Declaration
public ARGB(float alpha, float red, float green, float blue)
Description
Creates new ARGB components from the given values.
Parameters
alpha | The alpha component of the color in the range [0..1]. |
red | The red component of the color in the range [0..1]. |
green | The green component of the color in the range [0..1]. |
blue | The blue component of the color in the range [0..1]. |
Overload
Declaration
public ARGB(ARGB other)
Description
Creates a new copy of the components.
Parameters
other | The other components to copy. |
Overload
Declaration
public ARGB(Color color)
Description
Creates new ARGB components from the given color.
Parameters
color | The color to extract the components from. |