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
interpolatorProperties 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
ConstructorsConstructorDescriptionRectangleTransition(javafx.util.Duration duration, javafx.scene.shape.Rectangle rectangle, javafx.geometry.Bounds fromBounds, javafx.geometry.Bounds toBounds) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.geometry.Boundsjavafx.geometry.Boundsprotected voidinterpolate(double frac) Methods inherited from class javafx.animation.Transition
getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolatorMethods 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
-
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:
interpolatein classjavafx.animation.Transition
-