public class Color
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
a |
float |
b |
static Color |
BLACK |
static Color |
BLUE |
float |
g |
static Color |
GREEN |
float |
r |
static Color |
RED |
static Color |
WHITE |
Constructor and Description |
---|
Color(float r,
float g,
float b,
float a) |
Modifier and Type | Method and Description |
---|---|
void |
clamp() |
Color |
copy() |
static Color |
getRandomColor() |