public class PseudoGrey
extends java.lang.Object
Constructor and Description |
---|
PseudoGrey() |
Modifier and Type | Method and Description |
---|---|
static com.badlogic.gdx.graphics.Color |
toColor(float grey)
Transforms a brightness into a pseudogrey-color.
|
static float |
toFloat(com.badlogic.gdx.graphics.Color c) |
public static com.badlogic.gdx.graphics.Color toColor(float grey)
grey
- the brightnesspublic static float toFloat(com.badlogic.gdx.graphics.Color c)
c
-