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