Class ImmutableRgbaColor
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.renderer.RgbaColor
-
- de.extio.spacecraft.shared.model.client.renderer.ImmutableRgbaColor
-
public final class ImmutableRgbaColor extends RgbaColor
-
-
Field Summary
-
Fields inherited from class de.extio.spacecraft.shared.model.client.renderer.RgbaColor
a, b, BLACK, BLACK_DARKEN, BLUE, DARK_BLUE, DARK_BLUE2, DARK_GRAY, DARK_GRAY2, DARK_GREEN, DARK_GREEN2, DARK_ORANGE, DARK_ORANGE2, DARK_PINK, DARK_PINK2, DARK_RED, DARK_RED2, DARK_YELLOW, DARK_YELLOW2, g, GRAY, GREEN, LIGHT_BLUE, LIGHT_GRAY, LIGHT_GREEN, LIGHT_ORANGE, LIGHT_RED, LIGHT_YELLOW, ORANGE, PINK, r, RED, WHITE, YELLOW
-
-
Constructor Summary
Constructors Constructor Description ImmutableRgbaColor(int r, int g, int b)
ImmutableRgbaColor(int r, int g, int b, int a)
ImmutableRgbaColor(RgbaColor color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
and(RgbaColor other)
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()
void
xor(RgbaColor other)
-
-
-
Constructor Detail
-
ImmutableRgbaColor
public ImmutableRgbaColor(RgbaColor color)
-
ImmutableRgbaColor
public ImmutableRgbaColor(int r, int g, int b)
-
ImmutableRgbaColor
public ImmutableRgbaColor(int r, int g, int b, int a)
-
-
Method Detail
-
toAwtColor
public Color toAwtColor()
- Overrides:
toAwtColor
in classRgbaColor
-
-