|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Color in com.badlogic.gdx.graphics |
---|
Fields in com.badlogic.gdx.graphics declared as Color | |
---|---|
static Color |
Color.BLACK
|
static Color |
Color.BLUE
|
static Color |
Color.GREEN
|
static Color |
Color.RED
|
static Color |
Color.WHITE
|
Methods in com.badlogic.gdx.graphics that return Color | |
---|---|
Color |
Color.add(Color color)
Adds the given color to this color. |
Color |
Color.mul(Color color)
Multiplies the this color and the given color |
Color |
Color.mul(float value)
Multiplies all components of this Color with the given value. |
Color |
Color.set(Color color)
Sets this color to the given color. |
Color |
Color.sub(Color color)
Subtracts the given color from this color |
Methods in com.badlogic.gdx.graphics with parameters of type Color | |
---|---|
Color |
Color.add(Color color)
Adds the given color to this color. |
Color |
Color.mul(Color color)
Multiplies the this color and the given color |
Color |
Color.set(Color color)
Sets this color to the given color. |
void |
Pixmap.setColor(Color color)
Sets the color for the following drawing operations. |
Color |
Color.sub(Color color)
Subtracts the given color from this color |
Constructors in com.badlogic.gdx.graphics with parameters of type Color | |
---|---|
Color(Color color)
Constructs a new color using the given color |
Uses of Color in com.badlogic.gdx.graphics.g2d |
---|
Methods in com.badlogic.gdx.graphics.g2d that return Color | |
---|---|
Color |
BitmapFont.getColor()
Returns the color of this font. |
Color |
BitmapFontCache.getColor()
|
Color |
Sprite.getColor()
Returns the color of this sprite. |
Color |
SpriteBatch.getColor()
|
Color |
SpriteCache.getColor()
|
Methods in com.badlogic.gdx.graphics.g2d with parameters of type Color | |
---|---|
void |
BitmapFont.setColor(Color tint)
|
void |
BitmapFontCache.setColor(Color tint)
|
void |
Sprite.setColor(Color tint)
|
void |
SpriteBatch.setColor(Color tint)
Sets the color used to tint images when they are added to the SpriteBatch. |
void |
SpriteCache.setColor(Color tint)
Sets the color used to tint images when they are added to the SpriteCache. |
Uses of Color in com.badlogic.gdx.graphics.g3d |
---|
Fields in com.badlogic.gdx.graphics.g3d declared as Color | |
---|---|
Color |
Material.Ambient
|
Color |
Material.Diffuse
|
Color |
Material.Emissive
|
Color |
Material.Specular
|
Uses of Color in com.badlogic.gdx.graphics.glutils |
---|
Methods in com.badlogic.gdx.graphics.glutils with parameters of type Color | |
---|---|
void |
ShapeRenderer.setColor(Color color)
Sets the Color to be used by shapes. |
Uses of Color in com.badlogic.gdx.scenes.scene2d |
---|
Fields in com.badlogic.gdx.scenes.scene2d declared as Color | |
---|---|
Color |
Actor.color
|
Uses of Color in com.badlogic.gdx.scenes.scene2d.ui |
---|
Fields in com.badlogic.gdx.scenes.scene2d.ui declared as Color | |
---|---|
Color |
ComboBox.ComboBoxStyle.fontColor
|
Color |
Label.LabelStyle.fontColor
|
Color |
TextField.TextFieldStyle.fontColor
|
Color |
List.ListStyle.fontColorSelected
|
Color |
List.ListStyle.fontColorUnselected
|
Color |
Window.WindowStyle.titleFontColor
|
Methods in com.badlogic.gdx.scenes.scene2d.ui that return Color | |
---|---|
Color |
Label.getColor()
|
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Color | |
---|---|
void |
Label.setColor(Color tint)
|
Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Color | |
---|---|
Button.ButtonStyle(NinePatch down,
NinePatch up,
NinePatch checked,
float pressedOffsetX,
float pressedOffsetY,
float unpressedOffsetX,
float unpressedOffsetY,
BitmapFont font,
Color fontColor)
|
|
CheckBox.CheckBoxStyle(TextureRegion checkboxOff,
TextureRegion checkboxOn,
BitmapFont font,
Color fontColor)
|
|
ComboBox.ComboBoxStyle(BitmapFont font,
Color fontColor,
NinePatch background,
NinePatch listBackground,
NinePatch listSelection)
|
|
Label.LabelStyle(BitmapFont font,
Color fontColor)
|
|
List.ListStyle(BitmapFont font,
Color fontColorSelected,
Color fontColorUnselected,
NinePatch selectedPatch)
|
|
TextField.TextFieldStyle(BitmapFont font,
Color fontColor,
NinePatch cursor,
TextureRegion selection,
NinePatch background)
|
|
Window.WindowStyle(BitmapFont titleFont,
Color titleFontColor,
NinePatch backgroundPatch)
|
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |