Represents a color in RGBA8888 format with underlying type Int. @author Sam Twidale (http://samcodes.co.uk/)
Constructor
inlinenew (rgba:UInt)
Creates a new color.
Parameters:
rgba | The color value. It will be interpreted in RGBA8888 format. |
---|
Variables
Methods
Static methods
staticinlinecreate (red:UInt, green:UInt, blue:UInt, alpha:UInt):Color
Creates a new color.
Parameters:
red | The red component (0-255). |
---|---|
green | The green component (0-255). |
blue | The blue component (0-255). |
alpha | The alpha component (0-255). |
Returns:
The new color value in RGBA8888 format.