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


CONSTRUCTOR INDEX

 O ScaleEffect(ScaleParam)
Creates a scaling effect.

METHOD INDEX

 O getParams()
Returns the parameters for the Scaling effect.
 O setOutputView()
Not applet visible.
 O setParams(ScaleParam)
Sets parameters for a scaling effect.
 O toString()
Returns the String representation of this Effect's internal state.

CONSTRUCTORS

 O 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

METHODS

 O 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
 O 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
 O getParams
  public ScaleParam getParams()
Returns the parameters for the Scaling effect.
Returns:
current parameters for the Scaling effect
See Also:
setParams
 O 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
Free Web Hosting