Class RgbaColor
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.renderer.RgbaColor
-
- Direct Known Subclasses:
ImmutableRgbaColor
public class RgbaColor extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected intaprotected intbstatic RgbaColorBLACKstatic RgbaColorBLACK_DARKENstatic RgbaColorBLUEstatic RgbaColorDARK_BLUEstatic RgbaColorDARK_BLUE2static RgbaColorDARK_GRAYstatic RgbaColorDARK_GRAY2static RgbaColorDARK_GREENstatic RgbaColorDARK_GREEN2static RgbaColorDARK_ORANGEstatic RgbaColorDARK_ORANGE2static RgbaColorDARK_PINKstatic RgbaColorDARK_PINK2static RgbaColorDARK_REDstatic RgbaColorDARK_RED2static RgbaColorDARK_YELLOWstatic RgbaColorDARK_YELLOW2protected intgstatic RgbaColorGRAYstatic RgbaColorGREENstatic RgbaColorLIGHT_BLUEstatic RgbaColorLIGHT_GRAYstatic RgbaColorLIGHT_GREENstatic RgbaColorLIGHT_ORANGEstatic RgbaColorLIGHT_REDstatic RgbaColorLIGHT_YELLOWstatic RgbaColorORANGEstatic RgbaColorPINKprotected intrstatic RgbaColorREDstatic RgbaColorWHITEstatic RgbaColorYELLOW
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidand(RgbaColor other)booleanequals(Object obj)intgetA()intgetB()intgetG()intgetR()inthashCode()voidor(RgbaColor other)voidscreen(RgbaColor other)voidsetA(int a)voidsetB(int b)voidsetG(int g)voidsetR(int r)ColortoAwtColor()StringtoString()voidxor(RgbaColor other)
-
-
-
Field Detail
-
WHITE
public static final RgbaColor WHITE
-
LIGHT_GRAY
public static final RgbaColor LIGHT_GRAY
-
GRAY
public static final RgbaColor GRAY
-
DARK_GRAY
public static final RgbaColor DARK_GRAY
-
DARK_GRAY2
public static final RgbaColor DARK_GRAY2
-
BLACK
public static final RgbaColor BLACK
-
BLACK_DARKEN
public static final RgbaColor BLACK_DARKEN
-
LIGHT_RED
public static final RgbaColor LIGHT_RED
-
RED
public static final RgbaColor RED
-
DARK_RED
public static final RgbaColor DARK_RED
-
DARK_RED2
public static final RgbaColor DARK_RED2
-
PINK
public static final RgbaColor PINK
-
DARK_PINK
public static final RgbaColor DARK_PINK
-
DARK_PINK2
public static final RgbaColor DARK_PINK2
-
LIGHT_YELLOW
public static final RgbaColor LIGHT_YELLOW
-
YELLOW
public static final RgbaColor YELLOW
-
DARK_YELLOW
public static final RgbaColor DARK_YELLOW
-
DARK_YELLOW2
public static final RgbaColor DARK_YELLOW2
-
LIGHT_ORANGE
public static final RgbaColor LIGHT_ORANGE
-
ORANGE
public static final RgbaColor ORANGE
-
DARK_ORANGE
public static final RgbaColor DARK_ORANGE
-
DARK_ORANGE2
public static final RgbaColor DARK_ORANGE2
-
LIGHT_GREEN
public static final RgbaColor LIGHT_GREEN
-
GREEN
public static final RgbaColor GREEN
-
DARK_GREEN
public static final RgbaColor DARK_GREEN
-
DARK_GREEN2
public static final RgbaColor DARK_GREEN2
-
LIGHT_BLUE
public static final RgbaColor LIGHT_BLUE
-
BLUE
public static final RgbaColor BLUE
-
DARK_BLUE
public static final RgbaColor DARK_BLUE
-
DARK_BLUE2
public static final RgbaColor DARK_BLUE2
-
r
protected int r
-
g
protected int g
-
b
protected int b
-
a
protected int a
-
-
Method Detail
-
toAwtColor
public Color toAwtColor()
-
xor
public void xor(RgbaColor other)
-
or
public void or(RgbaColor other)
-
and
public void and(RgbaColor other)
-
screen
public void screen(RgbaColor other)
-
getR
public int getR()
-
setR
public void setR(int r)
-
getG
public int getG()
-
setG
public void setG(int g)
-
getB
public int getB()
-
setB
public void setB(int b)
-
getA
public int getA()
-
setA
public void setA(int a)
-
-