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

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

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

An evaluator for Line2D.

Author:
Chet Haase, Tim Halloran

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

Constructor Detail

EvaluatorLine2D

public EvaluatorLine2D()
Method Detail

evaluate

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

getEvaluatorClass

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


Copyright © 2011. All Rights Reserved.