edu.umd.cs.piccolo.activities
Interface PTransformActivity.Target

Enclosing class:
PTransformActivity

public static interface PTransformActivity.Target

Target Objects that want to get transformed by the transform activity must implement this interface. See PNode.animateToTransform() for one way to do this.


Method Summary
 void getSourceMatrix(double[] aSource)
          This method is called right before the transform activity starts.
 void setTransform(java.awt.geom.AffineTransform aTransform)
          This will be called by the transform activity for each new transform that it computes while it is stepping.
 

Method Detail

setTransform

void setTransform(java.awt.geom.AffineTransform aTransform)
This will be called by the transform activity for each new transform that it computes while it is stepping.


getSourceMatrix

void getSourceMatrix(double[] aSource)
This method is called right before the transform activity starts. That way an object is always animated from its current position.



Copyright 2005 by University of Maryland, College Park, MD 20742, USA All rights reserved.

Web Accessibility