All Packages Class Hierarchy This Package Previous Next Index
Class javax.vecmath.Color4f
java.lang.Object
|
+----javax.vecmath.Tuple4f
|
+----javax.vecmath.Color4f
- public class Color4f
- extends javax.vecmath.Tuple4f
- implements java.io.Serializable
A 4 element color represented by single precision floating point x,y,z,w
coordinates. Color and alpha components should be in the range of zero to one.
- Version:
- specification 1.1, implementation 1.0 $Revision: 1.6 $, $Date: 1999/03/04 09:16:33 $
- Author:
- Kenji hiranabe
-
Color4f()
- Constructs and initializes a Color4f to (0,0,0,0).
-
Color4f(Color4f)
- Constructs and initializes a Color4f from the specified Color4f.
-
Color4f(float, float, float, float)
- Constructs and initializes a Color4f from the specified xyzw
-
Color4f(float[])
- Constructs and initializes a Color4f from input array of length 4.
-
Color4f(Tuple4d)
- Constructs and initializes a Color4f from the specified Tuple4d.
-
Color4f(Tuple4f)
- Constructs and initializes a Color4f from the specified Tuple4f.
Color4f
public Color4f(float x,
float y,
float z,
float w)
- Constructs and initializes a Color4f from the specified xyzw
- Parameters:
- x - the x coordinate
- y - the y coordinate
- z - the z coordinate
- w - the w coordinate
Color4f
public Color4f(float c[])
- Constructs and initializes a Color4f from input array of length 4.
- Parameters:
- c - the array of length 4 containing xyzw in order
Color4f
public Color4f(javax.vecmath.Color4f c1)
- Constructs and initializes a Color4f from the specified Color4f.
- Parameters:
- c - the Color4f containing the initialization x y z w data
Color4f
public Color4f(javax.vecmath.Tuple4d t1)
- Constructs and initializes a Color4f from the specified Tuple4d.
- Parameters:
- t1 - the Tuple4d containing the initialization x y z w data
Color4f
public Color4f(javax.vecmath.Tuple4f t1)
- Constructs and initializes a Color4f from the specified Tuple4f.
- Parameters:
- t1 - the Tuple4f containing the initialization x y z w data
Color4f
public Color4f()
- Constructs and initializes a Color4f to (0,0,0,0).
All Packages Class Hierarchy This Package Previous Next Index