33 Color(
unsigned char red,
unsigned char green,
unsigned char blue);
64[[deprecated(
"use setBackgroundColor(jngl::Rgb) instead")]]
Contains jngl::Rgb class.
Object representing a RGB color.
Color(unsigned char red, unsigned char green, unsigned char blue)
unsigned char getBlue() const
0...255
void setBlue(unsigned char)
0...255
void setGreen(unsigned char)
0...255
void setRed(unsigned char)
0...255
unsigned char getRed() const
0...255
unsigned char getGreen() const
0...255
Object representing a RGB color, new version of jngl::Color (which will be deprecated in the future)
Color interpolate(Color a, Color b, float t)
Returns a color mix between a (t == 0) and b (t == 1)
void setBackgroundColor(jngl::Rgb)
Sets the screen's background color which is visible when nothing is drawn.