Class RectangleTransition

java.lang.Object
javafx.animation.Animation
javafx.animation.Transition
org.jhotdraw8.fxbase.transition.RectangleTransition

public class RectangleTransition extends javafx.animation.Transition
RectangleTransition performs a linear transition of the bounds of a JavaFX Rectangle.
Author:
Werner Randelshofer
  • Property Summary

    Properties inherited from class javafx.animation.Transition

    interpolator

    Properties inherited from class javafx.animation.Animation

    autoReverse, currentRate, currentTime, cycleCount, cycleDuration, delay, onFinished, rate, status, totalDuration
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.animation.Animation

    javafx.animation.Animation.Status
  • Field Summary

    Fields inherited from class javafx.animation.Animation

    INDEFINITE
  • Constructor Summary

    Constructors
    Constructor
    Description
    RectangleTransition(javafx.util.Duration duration, javafx.scene.shape.Rectangle rectangle, javafx.geometry.Bounds fromBounds, javafx.geometry.Bounds toBounds)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.geometry.Bounds
     
    javafx.geometry.Bounds
     
    protected void
    interpolate(double frac)
     

    Methods inherited from class javafx.animation.Transition

    getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolator

    Methods inherited from class javafx.animation.Animation

    autoReverseProperty, currentRateProperty, currentTimeProperty, cycleCountProperty, cycleDurationProperty, delayProperty, getCuePoints, getCurrentRate, getCurrentTime, getCycleCount, getCycleDuration, getDelay, getOnFinished, getRate, getStatus, getTargetFramerate, getTotalDuration, isAutoReverse, jumpTo, jumpTo, onFinishedProperty, pause, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RectangleTransition

      public RectangleTransition(javafx.util.Duration duration, javafx.scene.shape.Rectangle rectangle, javafx.geometry.Bounds fromBounds, javafx.geometry.Bounds toBounds)
  • Method Details

    • getFromBounds

      public javafx.geometry.Bounds getFromBounds()
    • getToBounds

      public javafx.geometry.Bounds getToBounds()
    • interpolate

      protected void interpolate(double frac)
      Specified by:
      interpolate in class javafx.animation.Transition