Class ColorInfo
java.lang.Object
zombie.core.textures.ColorInfo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddesaturate(float s) booleanfloatgetA()floatgetB()floatgetG()floatgetR()voidmin(float R, float G, float B, float A) minRGB(float RGB) minRGB(float R, float G, float B) set(float R, float G, float B, float A) setABGR(int abgr) setRGB(float RGB) setRGB(float R, float G, float B) toColor()toString()
-
Field Details
-
a
public float a -
b
public float b -
g
public float g -
r
public float r
-
-
Constructor Details
-
ColorInfo
public ColorInfo() -
ColorInfo
public ColorInfo(float R, float G, float B, float A)
-
-
Method Details
-
equals
-
set
-
set
-
setRGB
-
setRGB
-
setABGR
-
min
-
minRGB
-
minRGB
-
getR
public float getR() -
getG
public float getG() -
getB
public float getB() -
toColor
-
toImmutableColor
-
getA
public float getA() -
desaturate
public void desaturate(float s) -
interp
-
toString
-