javax.vecmath
Class Color3b
- Serializable
public class Color3b
implements Serializable
A three byte vector used for colors.
specification 1.2, implementation $Revision: 1.9 $, $Date: 1999/11/25 10:55:01 $
Color3b()- Constructs and initializes a Color3b to (0,0,0).
|
Color3b(byte c1, byte c2, byte c3)- Constructs and initializes a Color3b from the specified three values.
|
Color3b(c[] )- Constructs and initializes a Color3b from input array of length 3.
|
Color3b(java.awt.Color color)- Constructs color from awt.Color.
|
Color3b(Color3b c1)- Constructs and initializes a Color3b from the specified Color3b.
|
Color3b(Tuple3b t1)- Constructs and initializes a Color3b from the specified Tuple3b.
|
java.awt.Color | get()- Gets awt.Color.
|
void | set(java.awt.Color color)- Sets color from awt.Color.
|
Color3b
public Color3b()
Constructs and initializes a Color3b to (0,0,0).
Color3b
public Color3b(byte c1,
byte c2,
byte c3) Constructs and initializes a Color3b from the specified three values.
c1 - the first valuec2 - the second valuec3 - the third value
Color3b
public Color3b(c[] )
Constructs and initializes a Color3b from input array of length 3.
Color3b
public Color3b(java.awt.Color color)
Constructs color from awt.Color.
Color3b
public Color3b(Color3b c1)
Constructs and initializes a Color3b from the specified Color3b.
Color3b
public Color3b(Tuple3b t1)
Constructs and initializes a Color3b from the specified Tuple3b.
t1 - the Tuple3b containing the initialization x y z 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.