|
Color RepresentationIntroductionRepresents RGBA colours, individual channels are accessible via public properties. Class synopsisUI\Draw\Color
class UI\Draw\Color
{
/* Constants */
const
int
UI\Draw\Color::Red;
const
int
UI\Draw\Color::Green;
const
int
UI\Draw\Color::Blue;
const
int
UI\Draw\Color::Alpha;
/* Properties */
public
$r;
public
$g;
public
$b;
public
$a;
/* Constructor */
public __construct(UI\Draw\Color
$color = ?)public __construct(int
$color = ?)/* Methods */
public float getChannel(int
$channel )public void setChannel(int
}$channel , float $value )Properties
Predefined Constants
|