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).


Constructor Index

 o Color4b()
Constructs and initializes a Color4b to (0,0,0,0).
 o Color4b(byte, byte, byte, byte)
Constructs and initializes a Color4b from the specified four values.
 o Color4b(byte[])
Constructs and initializes a Color4b from the array of length 4.
 o Color4b(Color4b)
Constructs and initializes a Color4b from the specified Color4b.

Constructors

 o 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
 o 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
 o 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
 o Color4b
 public Color4b()
Constructs and initializes a Color4b to (0,0,0,0).


All Packages  Class Hierarchy  This Package  Previous  Next  Index