- 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.AffineTransformcurrentprivate longcurrentTimestampprivate @NotNull TransformValueinitialprivate @NotNull Tracktrackprivate @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.AffineTransformcomputeCurrent(@NotNull MeasureContext context, long timestamp)private @NotNull java.awt.geom.AffineTransformcurrent(@NotNull MeasureContext context)@NotNull AnimatedTransformderive(@NotNull TransformValue initialValue)@NotNull java.awt.geom.AffineTransformget(@NotNull MeasureContext context)@NotNull TransformValueinitial()
-
-
-
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:
getin interfaceTransformValue
-
-