public class RotationAnimator2D extends AbstractTransformAnimator
Constructor and Description |
---|
RotationAnimator2D(AffineTransform3D transformStart,
double viewerCenterX,
double viewerCenterY,
AffineTransform3D target,
long duration) |
Modifier and Type | Method and Description |
---|---|
AffineTransform3D |
get(double t)
Returns an
AffineTransform3D for the specified completion factor. |
getCurrent
isComplete, ratioComplete, setTime
public RotationAnimator2D(AffineTransform3D transformStart, double viewerCenterX, double viewerCenterY, AffineTransform3D target, long duration)
public AffineTransform3D get(double t)
AbstractTransformAnimator
AffineTransform3D
for the specified completion factor.
For values below 0, that starting transform should be returned. For
values larger than 1, the final transform should be returned. Values
below 0 and 1 should interpolate between the two, depending on the
concrete animation implementation.get
in class AbstractTransformAnimator
t
- the completion factor, ranging from 0 to 1.Copyright © 2015–2021 Fiji. All rights reserved.