Class anim.RotateZParam
All Packages Class Hierarchy This Package Previous Next Index
Class anim.RotateZParam
java.lang.Object
|
+----anim.RotateZParam
- public class RotateZParam
- extends Object
A parameter for a Rotation about the Z axis
Copyright (c) 1996-1997 Intel Corporation
-
Angle
- The angle of rotation in degrees.
-
xOrigin
- x coordinate of the Z axis about which to rotate.
-
yOrigin
- y coordinate of the Z axis about which to rotate.
-
RotateZParam()
- Default constructor.
-
RotateZParam(float)
- Constructor using passed in Angle, xOrigin and yOrigin are set to 0
-
RotateZParam(float, int, int)
- Constructor using passed in Angle, xOrigin and yOrigin
-
RotateZParam(RotateZParam)
- Constructor using passed in Rotate Param
-
addAngle(float)
-
-
equals(RotateZParam)
-
-
toString()
-
Angle
public float Angle
- The angle of rotation in degrees.
Default is 0.0. Positive angles cause a clockwise
rotation.
xOrigin
public int xOrigin
- x coordinate of the Z axis about which to rotate. Default
is 0 which is at the left extreme of the object.
yOrigin
public int yOrigin
- y coordinate of the Z axis about which to rotate. Default
is 0 which is at the top of the object.
RotateZParam
public RotateZParam(float angle,
int xOrigin,
int yOrigin)
- Constructor using passed in Angle, xOrigin and yOrigin
RotateZParam
public RotateZParam(float angle)
- Constructor using passed in Angle, xOrigin and yOrigin are set to 0
RotateZParam
public RotateZParam()
- Default constructor. Sets angle = 0.0 and both origins to 0
RotateZParam
public RotateZParam(RotateZParam rotate)
- Constructor using passed in Rotate Param
equals
public boolean equals(RotateZParam test)
addAngle
public float addAngle(float angleDelta)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index