@Fluid(swallowGettersWithParameters=true) public class Tint extends ExtendedComponent<Tint> implements Tweenable<Tint>
Color,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.graphics.Color |
color |
static Tint |
TRANSPARENT |
static Tint |
WHITE |
| Constructor and Description |
|---|
Tint() |
Tint(com.badlogic.gdx.graphics.Color color) |
Tint(float r,
float g,
float b,
float a) |
Tint(String hex)
Create Tint by hex, RRGGBBAA.
|
Tint(Tint tint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reset() |
void |
set(com.badlogic.gdx.graphics.Color color) |
void |
set(float r,
float g,
float b,
float a) |
void |
set(Tint tint) |
void |
setHex(String hex)
Set color to hex, RRGGBBAA.
|
void |
tween(Tint a,
Tint b,
float value) |
public static final Tint WHITE
public static final Tint TRANSPARENT
public com.badlogic.gdx.graphics.Color color
public Tint()
public Tint(com.badlogic.gdx.graphics.Color color)
public Tint(Tint tint)
public Tint(float r,
float g,
float b,
float a)
public Tint(String hex)
protected void reset()
reset in class com.artemis.PooledComponentpublic void setHex(String hex)
public void set(com.badlogic.gdx.graphics.Color color)
public void set(float r,
float g,
float b,
float a)
public void set(Tint tint)
set in interface Mirrorable<Tint>Copyright © 2017. All rights reserved.