Package | Description |
---|---|
com.b3dgs.lionengine.core |
Lower level classes related, close to the engine.
|
com.b3dgs.lionengine.drawable |
Classic drawable classes for a ready to use image manipulation.
|
com.b3dgs.lionengine.graphic |
Graphic related package.
|
Modifier and Type | Method and Description |
---|---|
static ImageBuffer |
Graphics.applyMask(ImageBuffer imageBuffer,
ColorRgba maskColor)
Apply color mask to the image.
|
ImageBuffer |
FactoryGraphic.applyMask(ImageBuffer imageBuffer,
ColorRgba maskColor)
Apply color mask to the image.
|
Modifier and Type | Method and Description |
---|---|
void |
Sprite.setTransparency(ColorRgba mask)
Set transparency color mask.
|
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.OPAQUE
Opaque color.
|
static ColorRgba |
ColorRgba.PURPLE
Purple color.
|
static ColorRgba |
ColorRgba.RED
Red color.
|
static ColorRgba |
ColorRgba.TRANSPARENT
Transparent 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 |
ColorGradient.getColor1()
Get the first color.
|
ColorRgba |
ColorGradient.getColor2()
Get the last color.
|
static ColorRgba |
UtilColor.getWeightedColor(ImageBuffer surface,
int sx,
int sy,
int width,
int height)
Get the weighted color of an area.
|
Modifier and Type | Method and Description |
---|---|
static double |
UtilColor.getDelta(ColorRgba a,
ColorRgba b)
Return the delta between two colors.
|
static boolean |
UtilColor.isOpaqueTransparentExclusive(ColorRgba colorA,
ColorRgba colorB)
Check if colors transparency type are exclusive (one is
OPAQUE and the other
TRANSPARENT ). |
void |
Text.setColor(ColorRgba color)
Set the new text color value.
|
void |
Graphic.setColor(ColorRgba color)
Set the current graphic color.
|
Constructor and Description |
---|
ColorGradient(int x1,
int y1,
ColorRgba color1,
int x2,
int y2,
ColorRgba color2)
Create a gradient color.
|
Copyright © 2016 Byron 3D Games Studio. All rights reserved.