javax.vecmath
Class Color4b
- Serializable
public class Color4b
implements Serializable
A four byte colors (mostly used for colors with alpha).
specification 1.2, implementation $Revision: 1.9 $, $Date: 1999/11/25 10:55:01 $
Color4b()- Constructs and initializes a Color4b to (0,0,0,0).
|
Color4b(byte c1, byte c2, byte c3, byte c4)- Constructs and initializes a Color4b from the specified four values.
|
Color4b(c[] )- Constructs and initializes a Color4b from input array of length 4.
|
Color4b(java.awt.Color color)- Constructs color from awt.Color.
|
Color4b(Color4b c1)- Constructs and initializes a Color4b from the specified Color4b.
|
Color4b(Tuple4b t1)- Constructs and initializes a Color4b from the specified Tuple4b.
|
java.awt.Color | get()- Gets awt.Color.
|
void | set(java.awt.Color color)- Sets color from awt.Color.
|
Color4b
public Color4b()
Constructs and initializes a Color4b to (0,0,0,0).
Color4b
public Color4b(byte c1,
byte c2,
byte c3,
byte c4) Constructs and initializes a Color4b from the specified four values.
c1 - the first valuec2 - the second valuec3 - the third valuec4 - the fourth value
Color4b
public Color4b(c[] )
Constructs and initializes a Color4b from input array of length 4.
Color4b
public Color4b(java.awt.Color color)
Constructs color from awt.Color.
Color4b
public Color4b(Color4b c1)
Constructs and initializes a Color4b from the specified Color4b.
Color4b
public Color4b(Tuple4b t1)
Constructs and initializes a Color4b from the specified Tuple4b.
t1 - the Tuple4b containing the initialization x y z w data
get
public final java.awt.Color get()
Gets awt.Color.
set
public final void set(java.awt.Color color)
Sets color from awt.Color.