All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.vecmath.Color4f

java.lang.Object
   |
   +----java.vecmath.Tuple4f
           |
           +----java.vecmath.Color4f

public class Color4f
extends Tuple4f
A 4 element color represented by single precision floating point x,y,z,w coordinates.


Constructor Index

 o Color4f()
Constructs and initializes a Color4f to (0,0,0,0).
 o Color4f(Color4f)
Constructs and initializes a Color4f from the specified Color4f.
 o Color4f(float, float, float, float)
Constructs and initializes a Color4f from the specified xyzw coordinates.
 o Color4f(float[])
Constructs and initializes a Color4f from the array of length 4.

Constructors

 o Color4f
 public Color4f(float x,
                float y,
                float z,
                float w)
Constructs and initializes a Color4f from the specified xyzw coordinates.

Parameters:
x - the x coordinate
y - the y coordinate
z - the z coordinate
w - the w coordinate
 o Color4f
 public Color4f(float c[])
Constructs and initializes a Color4f from the array of length 4.

Parameters:
c - the array of length 4 containing xyzw in order
 o Color4f
 public Color4f(Color4f c1)
Constructs and initializes a Color4f from the specified Color4f.

Parameters:
c1 - the Color4f containing the initialization x y z w data
 o Color4f
 public Color4f()
Constructs and initializes a Color4f to (0,0,0,0).


All Packages  Class Hierarchy  This Package  Previous  Next  Index