Package | Description |
---|---|
com.b3dgs.lionengine | |
com.b3dgs.lionengine.core | |
com.b3dgs.lionengine.drawable |
Modifier and Type | Field and Description |
---|---|
static ColorRgba |
ColorRgba.BLACK
Black color.
|
static ColorRgba |
ColorRgba.BLUE
Blue color.
|
static ColorRgba |
ColorRgba.CYAN
Cyan color.
|
static ColorRgba |
ColorRgba.GRAY
Grey color.
|
static ColorRgba |
ColorRgba.GRAY_DARK
Light gray.
|
static ColorRgba |
ColorRgba.GRAY_LIGHT
Light gray.
|
static ColorRgba |
ColorRgba.GREEN
Green color.
|
static ColorRgba |
ColorRgba.RED
Red color.
|
static ColorRgba |
ColorRgba.WHITE
White color.
|
static ColorRgba |
ColorRgba.YELLOW
Yellow color.
|
Modifier and Type | Method and Description |
---|---|
ColorRgba |
Graphic.getColor()
Get the current color.
|
ColorRgba |
GradientColor.getColor1()
Get the first color.
|
ColorRgba |
GradientColor.getColor2()
Get the last color.
|
Modifier and Type | Method and Description |
---|---|
void |
Text.setColor(ColorRgba color)
Set the new text color value.
|
void |
Graphic.setColor(ColorRgba color)
Set the current graphic color.
|
Constructor and Description |
---|
GradientColor(int x1,
int y1,
ColorRgba color1,
int x2,
int y2,
ColorRgba color2)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static ImageBuffer |
UtilityImage.applyMask(ImageBuffer imageBuffer,
ColorRgba maskColor)
Apply color mask to image.
|
Modifier and Type | Method and Description |
---|---|
void |
Sprite.setTransparency(ColorRgba mask)
Set transparency color mask.
|