org.jdesktop.swing.animation.timing.evaluators
Class EvaluatorPoint2D

java.lang.Object
  extended by org.jdesktop.swing.animation.timing.evaluators.EvaluatorPoint2D
All Implemented Interfaces:
org.jdesktop.core.animation.timing.Evaluator<Point2D>

@Immutable
public final class EvaluatorPoint2D
extends Object
implements org.jdesktop.core.animation.timing.Evaluator<Point2D>

An evaluator for Point2D.

Author:
Chet Haase, Tim Halloran

Constructor Summary
EvaluatorPoint2D()
           
 
Method Summary
 Point2D evaluate(Point2D v0, Point2D v1, double fraction)
           
 Class<Point2D> getEvaluatorClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluatorPoint2D

public EvaluatorPoint2D()
Method Detail

evaluate

public Point2D evaluate(Point2D v0,
                        Point2D v1,
                        double fraction)
Specified by:
evaluate in interface org.jdesktop.core.animation.timing.Evaluator<Point2D>

getEvaluatorClass

public Class<Point2D> getEvaluatorClass()
Specified by:
getEvaluatorClass in interface org.jdesktop.core.animation.timing.Evaluator<Point2D>


Copyright © 2011. All Rights Reserved.