javax.vecmath
public class Color4b extends Tuple4b implements Serializable
Constructor Summary | |
---|---|
Color4b(byte c1, byte c2, byte c3, byte c4)
Constructs and initializes a Color4b from the specified four values. | |
Color4b(byte[] c)
Constructs and initializes a Color4b from input array of length 4. | |
Color4b(Color4b c1)
Constructs and initializes a Color4b from the specified Color4b. | |
Color4b(Tuple4b t1)
Constructs and initializes a Color4b from the specified Tuple4b. | |
Color4b()
Constructs and initializes a Color4b to (0,0,0,0). | |
Color4b(Color color)
Constructs color from awt.Color.
|
Method Summary | |
---|---|
Color | get()
Gets awt.Color.
|
void | set(Color color)
Sets color from awt.Color. |
Parameters: c1 the first value c2 the second value c3 the third value c4 the fourth value
Parameters: c the array of length 4 containing c1 c2 c3 c4 in order
Parameters: c the Color4b containing the initialization x y z w data
Parameters: t1 the Tuple4b containing the initialization x y z w data
Parameters: color awt color
Returns: color awt color
Parameters: color awt color