SKColor

Undocumented in source.

Constructors

this
this(uint value)
Undocumented in source.
this
this(ubyte red, ubyte green, ubyte blue, ubyte alpha)
Undocumented in source.
this
this(ubyte red, ubyte green, ubyte blue)
Undocumented in source.

Members

Functions

Alpha
ubyte Alpha()
Undocumented in source. Be warned that the author may not have intended to support it.
Blue
ubyte Blue()
Undocumented in source. Be warned that the author may not have intended to support it.
Green
ubyte Green()
Undocumented in source. Be warned that the author may not have intended to support it.
Hue
float Hue()
Undocumented in source. Be warned that the author may not have intended to support it.
Red
ubyte Red()
Undocumented in source. Be warned that the author may not have intended to support it.
ToHsl
void ToHsl(float h, float s, float l)
Undocumented in source. Be warned that the author may not have intended to support it.
ToHsv
void ToHsv(float h, float s, float v)
Undocumented in source. Be warned that the author may not have intended to support it.
ToString
string ToString()
Undocumented in source. Be warned that the author may not have intended to support it.
WithAlpha
SKColor WithAlpha(ubyte alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
WithBlue
SKColor WithBlue(ubyte blue)
Undocumented in source. Be warned that the author may not have intended to support it.
WithGreen
SKColor WithGreen(ubyte green)
Undocumented in source. Be warned that the author may not have intended to support it.
WithRed
SKColor WithRed(ubyte red)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
uint opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
SKColorF opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

FromHsl
SKColor FromHsl(float h, float s, float l, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
FromHsv
SKColor FromHsv(float h, float s, float v, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
Parse
SKColor Parse(string hexString)
Undocumented in source. Be warned that the author may not have intended to support it.
TryParse
bool TryParse(string hexString, SKColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
tryParse
bool tryParse(string hexString, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
tryParse
bool tryParse(string hexString, ubyte data)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

Empty
enum SKColor Empty;
Undocumented in source.

Meta