All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.vecmath.Color4b

java.lang.Object
   |
   +----javax.vecmath.Tuple4b
           |
           +----javax.vecmath.Color4b

public class Color4b
extends javax.vecmath.Tuple4b
implements java.io.Serializable
A four byte colors (mostly used for colors with alpha).

Version:
specification 1.1, implementation $Revision: 1.7 $, $Date: 1999/03/04 09:16:33 $
Author:
Kenji hiranabe

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 input array of length 4.
 o Color4b(Color4b)
Constructs and initializes a Color4b from the specified Color4b.
 o Color4b(Tuple4b)
Constructs and initializes a Color4b from the specified Tuple4b.

Constructors

 o Color4b
 public Color4b(byte c1,
                byte c2,
                byte c3,
                byte c4)
Constructs and initializes a Color4b from the specified four values.

Parameters:
c1 - the first value
c2 - the second value
c3 - the third value
c4 - the fourth value
 o Color4b
 public Color4b(byte c[])
Constructs and initializes a Color4b from input array of length 4.

Parameters:
c - the array of length 4 containing c1 c2 c3 c4 in order
 o Color4b
 public Color4b(javax.vecmath.Color4b c1)
Constructs and initializes a Color4b from the specified Color4b.

Parameters:
c - the Color4b containing the initialization x y z w data
 o Color4b
 public Color4b(javax.vecmath.Tuple4b t1)
Constructs and initializes a Color4b from the specified Tuple4b.

Parameters:
t1 - the Tuple4b 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