Class anim.Affine2DEffect
All Packages Class Hierarchy This Package Previous Next Index
Class anim.Affine2DEffect
java.lang.Object
|
+----anim.Effect
|
+----anim.Affine2DEffect
- public class Affine2DEffect
- extends Effect
A general 2D affine transform effect.
Takes it's input and applies the 2D affine transform specified
by the passed in 2D affine transform parameters
Copyright (c) 1996-1997 Intel Corporation
-
Affine2DEffect(Affine2DParam)
- Creates a general 2D affine transform effect.
-
getParams()
- Returns the parameters for the Affine2d animation effect.
-
setOutputView()
- Not applet visible.
-
setParams(Affine2DParam)
- Sets parameters for a general 2D affine transform effect.
-
toString()
- Returns the String representation of this Effect's internal state.
Affine2DEffect
public Affine2DEffect(Affine2DParam param)
- Creates a general 2D affine transform effect.
Takes it's input and applies the 2D affine transform specified
by the passed in 2D affine transform parameters.
- Parameters:
- Affine2DParam - is the parameters for the 2D affine transform
setParams
public synchronized boolean setParams(Affine2DParam param)
- Sets parameters for a general 2D affine transform effect.
Note that (xScale * yScale) must not equal (xShear * yShear)
because this will result in a line.
- Parameters:
- Affine2DParam - is the parameters for the 2D affine transform
- Returns:
- false if Parameters are out of range for this effect or
they cause a 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 rectangle
that defines a region on the output that this effect maps to.
OutputView is in the coordinate system of the sprite.
- Returns:
- false if current parameters are out of
range for this effect.
- Overrides:
- setOutputView in class Effect
getParams
public Affine2DParam getParams()
- Returns the parameters for the Affine2d animation effect.
- Returns:
- current parameters for the Affine2d 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