javax.vecmath
Class Color3f
- Serializable
public class Color3f
implements Serializable
A 3 element color represented by single precision floating point x,y,z
coordinates. Color components should be in the range of zero to one.
specification 1.2, implementation $Revision: 1.9 $, $Date: 1999/11/25 10:55:01 $
Color3f()- Constructs and initializes a Color3f to (0,0,0).
|
Color3f(c[] )- Constructs and initializes a Color3f from input array of length 3.
|
Color3f(float x, float y, float z)- Constructs and initializes a Color3f from the specified xyz
|
Color3f(java.awt.Color color)- Constructs color from awt.Color.
|
Color3f(Color3f c1)- Constructs and initializes a Color3f from the specified Color3f.
|
Color3f(Tuple3d t1)- Constructs and initializes a Color3f from the specified Tuple3d.
|
Color3f(Tuple3f t1)- Constructs and initializes a Color3f from the specified Tuple3f.
|
java.awt.Color | get()- Gets awt.Color.
|
void | set(java.awt.Color color)- Sets color from awt.Color.
|
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, epsilonEquals, equals, get, get, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, sub, sub, toString |
Color3f
public Color3f()
Constructs and initializes a Color3f to (0,0,0).
Color3f
public Color3f(c[] )
Constructs and initializes a Color3f from input array of length 3.
Color3f
public Color3f(float x,
float y,
float z) Constructs and initializes a Color3f from the specified xyz
x - the x coordinatey - the y coordinatez - the z coordinate
Color3f
public Color3f(java.awt.Color color)
Constructs color from awt.Color.
Color3f
public Color3f(Color3f c1)
Constructs and initializes a Color3f from the specified Color3f.
Color3f
public Color3f(Tuple3d t1)
Constructs and initializes a Color3f from the specified Tuple3d.
t1 - the Tuple3d containing the initialization x y z data
Color3f
public Color3f(Tuple3f t1)
Constructs and initializes a Color3f from the specified Tuple3f.
t1 - the Tuple3f containing the initialization x y z data
get
public final java.awt.Color get()
Gets awt.Color.
set
public final void set(java.awt.Color color)
Sets color from awt.Color.