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 int
a
protected int
b
static RgbaColor
BLACK
static RgbaColor
BLACK_DARKEN
static RgbaColor
BLUE
static RgbaColor
DARK_BLUE
static RgbaColor
DARK_BLUE2
static RgbaColor
DARK_GRAY
static RgbaColor
DARK_GRAY2
static RgbaColor
DARK_GREEN
static RgbaColor
DARK_GREEN2
static RgbaColor
DARK_ORANGE
static RgbaColor
DARK_ORANGE2
static RgbaColor
DARK_PINK
static RgbaColor
DARK_PINK2
static RgbaColor
DARK_RED
static RgbaColor
DARK_RED2
static RgbaColor
DARK_YELLOW
static RgbaColor
DARK_YELLOW2
protected int
g
static RgbaColor
GRAY
static RgbaColor
GREEN
static RgbaColor
LIGHT_BLUE
static RgbaColor
LIGHT_GRAY
static RgbaColor
LIGHT_GREEN
static RgbaColor
LIGHT_ORANGE
static RgbaColor
LIGHT_RED
static RgbaColor
LIGHT_YELLOW
static RgbaColor
ORANGE
static RgbaColor
PINK
protected int
r
static RgbaColor
RED
static RgbaColor
WHITE
static RgbaColor
YELLOW
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
and(RgbaColor other)
boolean
equals(Object obj)
int
getA()
int
getB()
int
getG()
int
getR()
int
hashCode()
void
or(RgbaColor other)
void
screen(RgbaColor other)
void
setA(int a)
void
setB(int b)
void
setG(int g)
void
setR(int r)
Color
toAwtColor()
String
toString()
void
xor(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)
-
-