All Packages Class Hierarchy This Package Previous Next Index
Class java.vecmath.Color4b
java.lang.Object
|
+----java.vecmath.Tuple4b
|
+----java.vecmath.Color4b
- public class Color4b
- extends Tuple4b
A four byte color (mostly used for colors with alpha).
-
Color4b()
- Constructs and initializes a Color4b to (0,0,0,0).
-
Color4b(byte, byte, byte, byte)
- Constructs and initializes a Color4b from the specified four values.
-
Color4b(byte[])
- Constructs and initializes a Color4b from the array of length 4.
-
Color4b(Color4b)
- Constructs and initializes a Color4b from the specified Color4b.
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 value
- b2 - the second value
- b3 - the third value
- b4 - 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()
- Constructs and initializes a Color4b to (0,0,0,0).
All Packages Class Hierarchy This Package Previous Next Index