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