Color
Methods
new
Returns a color object from the specified RGB(A) parameters.
Color.new(r, g, b, a?);
getR
Get red intensity of the color.
Color.getR(col);
getG
Get green intensity of the color.
Color.getG(col);
getB
Get blue intensity of the color.
Color.getB(col);
getA
Get alpha intensity of the color.
Color.getA(col);
setR
Set red intensity of the color.
Color.setR(col, r);
setG
Set green intensity of the color.
Color.setG(col, g);
setB
Set blue intensity of the color.
Color.setB(col, b);
setA
Set alpha intensity of the color.
Color.setA(col, a);