public class ColorMath
extends java.lang.Object
Constructor and Description |
---|
ColorMath() |
Modifier and Type | Method and Description |
---|---|
static int |
interpolate(float p,
int... colors) |
static int |
interpolate(int A,
int B,
float p) |
static int |
random(int a,
int b) |