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 intgetAlpha()intgetBlue()intgetColorARGB()intgetColorRGB()intgetColorRGBA()float[]getColorRGBAV()floatgetFAlpha()floatgetFBlue()floatgetFGreen()floatgetFRed()intgetGreen()intgetRed()static Colorrandom()voidsetAlpha(int a)voidsetBlue(int b)voidsetFAlpha(float fa)voidsetFBlue(float fb)voidsetFGreen(float fg)voidsetFRed(float fr)voidsetGreen(int g)voidsetRed(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)
-
-