public class Color
extends java.lang.Object
Constructor and Description |
---|
Color(float red,
float green,
float blue,
float alpha) |
Modifier and Type | Method and Description |
---|---|
void |
apply(GL10 gl) |
static Color |
copyOf(Color color) |
static Color |
fromHexAndAlpha(java.lang.String hex,
float alpha) |
float |
getAlpha() |
float |
getBlue() |
float |
getGreen() |
float |
getRed() |
void |
setAlpha(float alpha) |
void |
setBlue(float blue) |
void |
setGreen(float green) |
void |
setRed(float red) |
public static Color fromHexAndAlpha(java.lang.String hex, float alpha)
public void apply(GL10 gl)
public float getRed()
public void setRed(float red)
public float getGreen()
public void setGreen(float green)
public float getBlue()
public void setBlue(float blue)
public float getAlpha()
public void setAlpha(float alpha)