Class RGBA
java.lang.Object
com.google.gson.TypeAdapter<RGBA>
com.hammy275.immersivemc.common.util.RGBA
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Field Details
-
r
public int r -
g
public int g -
b
public int b -
a
public int a
-
-
Constructor Details
-
RGBA
public RGBA(long argb)
-
-
Method Details
-
toLong
public long toLong() -
redF
public float redF() -
greenF
public float greenF() -
blueF
public float blueF() -
alphaF
public float alphaF() -
getColor
public int getColor(char c) -
setColor
public void setColor(char c, int val) -
toString
-
write
- Specified by:
write
in classcom.google.gson.TypeAdapter<RGBA>
- Throws:
IOException
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<RGBA>
- Throws:
IOException
-