Constructor and Description |
---|
Color(float r,
float g,
float b,
float a)
Specifies color in RGBA space. All values lay in range 0;1.
|
Modifier and Type | Method and Description |
---|---|
float |
component1() |
float |
component2() |
float |
component3() |
float |
component4() |
Color |
copy(float r,
float g,
float b,
float a)
Specifies color in RGBA space. All values lay in range 0;1.
|
boolean |
equals(java.lang.Object p) |
float |
getA() |
float |
getB() |
float |
getG() |
float |
getR() |
int |
hashCode() |
java.lang.String |
toString() |
public float getR()
public float getG()
public float getB()
public float getA()
public float component1()
public float component2()
public float component3()
public float component4()
public Color copy(float r, float g, float b, float a)
Specifies color in RGBA space. All values lay in range 0;1.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)