|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.vecmath.Tuple3b
javax.vecmath.Color3b
public class Color3b
A three byte vector used for colors.
Field Summary |
---|
Fields inherited from class javax.vecmath.Tuple3b |
---|
x, y, z |
Constructor Summary | |
---|---|
Color3b()
Constructs and initializes a Color3b to (0,0,0). |
|
Color3b(byte[] c)
Constructs and initializes a Color3b from input array of length 3. |
|
Color3b(byte c1,
byte c2,
byte c3)
Constructs and initializes a Color3b from the specified three values. |
|
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. |
Method Summary | |
---|---|
java.awt.Color |
get()
Gets awt.Color. |
void |
set(java.awt.Color color)
Sets color from awt.Color. |
Methods inherited from class javax.vecmath.Tuple3b |
---|
equals, equals, get, get, hashCode, set, set, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Color3b(byte c1, byte c2, byte c3)
c1
- the first valuec2
- the second valuec3
- the third valuepublic Color3b(byte[] c)
t
- the array of length 3 containing c1 c2 c3 in orderpublic Color3b(Color3b c1)
c
- the Color3b containing the initialization x y z datapublic Color3b(Tuple3b t1)
t1
- the Tuple3b containing the initialization x y z datapublic Color3b()
public Color3b(java.awt.Color color)
color
- awt colorMethod Detail |
---|
public final void set(java.awt.Color color)
color
- awt colorpublic final java.awt.Color get()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |