javax.vecmath
Class Color4b
java.lang.Object
|
+--javax.vecmath.Tuple4b
|
+--javax.vecmath.Color4b
- public class Color4b
- extends Tuple4b
- implements java.io.Serializable
A four byte color (mostly used for colors with alpha).
- See Also:
- Serialized Form
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 the array of length 4. |
Color4b(byte b1,
byte b2,
byte b3,
byte b4)
Constructs and initializes a Color4b from the specified four values. |
Color4b(Color4b c1)
Constructs and initializes a Color4b from the specified Color4b. |
Color4b(Tuple4b t1)
Constructs and initializes a Color4b from the specified Tuple4b. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Color4b
public Color4b(byte b1,
byte b2,
byte b3,
byte b4)
- Constructs and initializes a Color4b from the specified four values.
- Parameters:
b1
- the first valueb2
- the second valueb3
- the third valueb4
- the fourth value
Color4b
public Color4b(byte[] c)
- Constructs and initializes a Color4b from the array of length 4.
- Parameters:
c
- the array of length 4 containing b1 b2 b3 b4 in order
Color4b
public Color4b(Color4b c1)
- Constructs and initializes a Color4b from the specified Color4b.
- Parameters:
c1
- the Color4b containing the initialization x y z w data
Color4b
public Color4b(Tuple4b t1)
- Constructs and initializes a Color4b from the specified Tuple4b.
- Parameters:
t1
- the Tuple4b containing the initialization x y z w data
Color4b
public Color4b()
- Constructs and initializes a Color4b to (0,0,0,0).