Color

A Color in ARGB format (compatible with COLORREF win32 type)

Members

Properties

valid
bool valid [@property getter]

Checks if the color information is valid.

Static functions

fromCOLORREF
Color fromCOLORREF(COLORREF cref)

Given a COLORREF, it returns a Color object

invalid
Color invalid()

Returns an invalid color

opCall
Color opCall(ubyte r, ubyte g, ubyte b)
Undocumented in source. Be warned that the author may not have intended to support it.
opCall
Color opCall(ubyte a, ubyte r, ubyte g, ubyte b)
Undocumented in source. Be warned that the author may not have intended to support it.

Unions

__anonymous
union __anonymous
Undocumented in source.

Meta