Class anim.ScaleEffect
All Packages Class Hierarchy This Package Previous Next Index
Class anim.ScaleEffect
java.lang.Object
|
+----anim.Effect
|
+----anim.ScaleEffect
- public class ScaleEffect
- extends Effect
A scaling effect.
Takes it's input and applies the scaling transform specified
by the passed in Scaling parameters.
Copyright (c) 1996-1997 Intel Corporation
-
ScaleEffect(ScaleParam)
- Creates a scaling effect.
-
getParams()
- Returns the parameters for the Scaling effect.
-
setOutputView()
- Not applet visible.
-
setParams(ScaleParam)
- Sets parameters for a scaling effect.
-
toString()
- Returns the String representation of this Effect's internal state.
ScaleEffect
public ScaleEffect(ScaleParam param)
- Creates a scaling effect.
Takes it's input and applies the scaling transform specified
by the passed in Scaling parameters
- Parameters:
- ScaleParam - is the parameters for the Scaling effect
setParams
public synchronized boolean setParams(ScaleParam param)
- Sets parameters for a scaling effect.
- Parameters:
- ScaleParam - is the parameters for scaling effect
- Returns:
- false if the current parameters result in
the output of this effect to have a width or height of less than 1 pixel or
if they cause some downstream effect
to be out of range
- See Also:
- getParams, prepare
setOutputView
protected boolean setOutputView()
- Not applet visible.
sets the output View for this effect based on the effect's
input view and its parameters. 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 ScaleParam getParams()
- Returns the parameters for the Scaling effect.
- Returns:
- current parameters for the Scaling 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