javax.vecmath
public class Color3f extends Tuple3f implements Serializable
Constructor Summary | |
---|---|
Color3f(float x, float y, float z)
Constructs and initializes a Color3f from the specified xyz | |
Color3f(float[] c)
Constructs and initializes a Color3f from input array of length 3. | |
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. | |
Color3f()
Constructs and initializes a Color3f to (0,0,0). | |
Color3f(Color color)
Constructs color from awt.Color.
|
Method Summary | |
---|---|
Color | get()
Gets awt.Color.
|
void | set(Color color)
Sets color from awt.Color. |
Parameters: x the x coordinate y the y coordinate z the z coordinate
Parameters: c the array of length 3 containing xyz in order
Parameters: c the Color3f containing the initialization x y z data
Parameters: t1 the Tuple3d containing the initialization x y z data
Parameters: t1 the Tuple3f containing the initialization x y z data
Parameters: color awt color
Returns: color awt color
Parameters: color awt color