- java.lang.Object
-
- com.github.weisj.jsvg.animation.value.AnimatedTransform
-
- All Implemented Interfaces:
TransformValue
public final class AnimatedTransform extends java.lang.Object implements TransformValue
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.geom.AffineTransform
current
private long
currentTimestamp
private @NotNull TransformValue
initial
private @NotNull Track
track
private @NotNull TransformPart @NotNull []
values
-
Constructor Summary
Constructors Constructor Description AnimatedTransform(@NotNull Track track, @NotNull TransformValue initial, @NotNull TransformPart @NotNull [] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private @NotNull java.awt.geom.AffineTransform
computeCurrent(@NotNull MeasureContext context, long timestamp)
private @NotNull java.awt.geom.AffineTransform
current(@NotNull MeasureContext context)
@NotNull AnimatedTransform
derive(@NotNull TransformValue initialValue)
@NotNull java.awt.geom.AffineTransform
get(@NotNull MeasureContext context)
@NotNull TransformValue
initial()
-
-
-
Field Detail
-
track
@NotNull private final @NotNull Track track
-
initial
@NotNull private final @NotNull TransformValue initial
-
values
@NotNull private final @NotNull TransformPart @NotNull [] values
-
current
private java.awt.geom.AffineTransform current
-
currentTimestamp
private long currentTimestamp
-
-
Constructor Detail
-
AnimatedTransform
public AnimatedTransform(@NotNull @NotNull Track track, @NotNull @NotNull TransformValue initial, @NotNull @NotNull TransformPart @NotNull [] values)
-
-
Method Detail
-
initial
@NotNull public @NotNull TransformValue initial()
-
derive
@NotNull public @NotNull AnimatedTransform derive(@NotNull @NotNull TransformValue initialValue)
-
current
@NotNull private @NotNull java.awt.geom.AffineTransform current(@NotNull @NotNull MeasureContext context)
-
computeCurrent
@NotNull private @NotNull java.awt.geom.AffineTransform computeCurrent(@NotNull @NotNull MeasureContext context, long timestamp)
-
get
@NotNull public @NotNull java.awt.geom.AffineTransform get(@NotNull @NotNull MeasureContext context)
- Specified by:
get
in interfaceTransformValue
-
-