Package com.nevergarden.myna.ds
Class Color
- java.lang.Object
-
- com.nevergarden.myna.ds.Color
-
public class Color extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAlpha()
int
getBlue()
int
getColorARGB()
int
getColorRGB()
int
getColorRGBA()
float[]
getColorRGBAV()
float
getFAlpha()
float
getFBlue()
float
getFGreen()
float
getFRed()
int
getGreen()
int
getRed()
static Color
random()
void
setAlpha(int a)
void
setBlue(int b)
void
setFAlpha(float fa)
void
setFBlue(float fb)
void
setFGreen(float fg)
void
setFRed(float fr)
void
setGreen(int g)
void
setRed(int r)
-
-
-
Field Detail
-
WHITE
public static final Color WHITE
-
-
Method Detail
-
random
public static Color random()
-
getColorRGBA
public int getColorRGBA()
-
getColorARGB
public int getColorARGB()
-
getColorRGB
public int getColorRGB()
-
getColorRGBAV
public float[] getColorRGBAV()
-
getRed
public int getRed()
-
setRed
public void setRed(int r)
-
getGreen
public int getGreen()
-
setGreen
public void setGreen(int g)
-
getBlue
public int getBlue()
-
setBlue
public void setBlue(int b)
-
getAlpha
public int getAlpha()
-
setAlpha
public void setAlpha(int a)
-
getFRed
public float getFRed()
-
setFRed
public void setFRed(float fr)
-
getFGreen
public float getFGreen()
-
setFGreen
public void setFGreen(float fg)
-
getFBlue
public float getFBlue()
-
setFBlue
public void setFBlue(float fb)
-
getFAlpha
public float getFAlpha()
-
setFAlpha
public void setFAlpha(float fa)
-
-