Class anim.RotateZEffect
All Packages Class Hierarchy This Package Previous Next Index
Class anim.RotateZEffect
java.lang.Object
|
+----anim.Effect
|
+----anim.RotateZEffect
- public class RotateZEffect
- extends Effect
A Rotation about the Z axis effect. Takes it's input and Rotates it about the specified z axis
by the angle specified in degrees. This is an affine 2D transformation.
Positive angles result in clockwise
rotations and negative angles result in counter-clockwise rotation.
The angle may be any real number.
Copyright (c) 1996-1997 Intel Corporation
-
RotateZEffect(RotateZParam)
- Creates a RotateZEffect.
-
getParams()
- Returns the parameters for the RotateZ effect.
-
setOutputView()
- Not applet visible.
-
setParams(RotateZParam)
- Sets parameters for a
RotateZ effect.
-
toString()
- Returns the String representation of this Effect's internal state.
RotateZEffect
public RotateZEffect(RotateZParam param)
- Creates a RotateZEffect.
- Parameters:
- param - is the rotation parameter.
The parameter is the angle speicified in degrees and the axis of rotation.
Positive angles result in clockwise
rotations and negative angles result in counter-clockwise rotation.
The angle may be any real number.
setParams
public synchronized boolean setParams(RotateZParam param)
- Sets parameters for a
RotateZ effect.
- Parameters:
- param - is the parameter for RotateZ effect
- Returns:
- false if the current parameters cause some downstream effect
to be out of range
- See Also:
- getParams, prepare
setOutputView
protected boolean setOutputView()
- Not applet visible.
Specifies the output View for this effect. This is a rectanlge
that defines a region on
the output that this effect maps to
- Returns:
- false if parameters are out of range for
this effect.
- Overrides:
- setOutputView in class Effect
getParams
public RotateZParam getParams()
- Returns the parameters for the RotateZ effect.
- Returns:
- current RotateZParams for the RotateZ effect
- See Also:
- setParams
toString
public String toString()
- Returns the String representation of this Effect's internal state.
- Overrides:
- toString in class Effect
All Packages Class Hierarchy This Package Previous Next Index