Color
Color is a class that allow you to make some colors. Useful for texts and images.
Statics functions
white()
black()
transparent()
yellow()
orange()
blue()
pink()
grey()
green()
red()
these statics classes are made to create quickly a color.
You can call it like below:
Public functions
getR : get red value (0 - 255)
getG : get green value (0 - 255)
getB : get blue value (0 - 255)
getA : get alpha value (0 - 255)
setR : set red value (0 - 255)
setG : set green value (0 - 255)
setB : set blue value (0 - 255)
setA : set alpha value (0 - 255)
Create a color
Last updated