public class Tint
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NOOP_TINT
A tint that does not change the underlying color.
|
| Constructor and Description |
|---|
Tint() |
| Modifier and Type | Method and Description |
|---|---|
static int |
combine(int curTint,
int tint)
Returns the combination of
curTint and tint. |
static float |
getAlpha(int tint)
Returns the alpha component of
tint as a float between [0, 1]. |
static int |
setAlpha(int tint,
float alpha)
Sets the alpha component of
tint to alpha. |
public static final int NOOP_TINT
public static int combine(int curTint,
int tint)
curTint and tint.public static int setAlpha(int tint,
float alpha)
tint to alpha.public static float getAlpha(int tint)
tint as a float between [0, 1].Copyright © 2018. All Rights Reserved.