public class Color
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Color |
black |
static Color |
blue |
static Color |
green |
static Color |
red |
static Color |
white |
static Color |
yellow |
Constructor and Description |
---|
Color(float r,
float g,
float b,
float a)
Create a new color (values between 0.0 - 1.0).
|
Modifier and Type | Method and Description |
---|---|
float |
getA() |
float |
getB() |
float |
getG() |
float |
getR() |
void |
setA(float a) |
void |
setB(float b) |
void |
setG(float g) |
void |
setR(float r) |
public static Color black
public static Color blue
public static Color green
public static Color red
public static Color white
public static Color yellow