Class AnimatedTransform
java.lang.Object
com.github.weisj.jsvg.animation.value.AnimatedTransform
- All Implemented Interfaces:
TransformValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AffineTransformprivate longprivate final @NotNull TransformValueprivate final @NotNull Trackprivate final @NotNull TransformPart @NotNull [] -
Constructor Summary
ConstructorsConstructorDescriptionAnimatedTransform(@NotNull Track track, @NotNull TransformValue initial, @NotNull TransformPart @NotNull [] values) -
Method Summary
Modifier and TypeMethodDescriptionprivate @NotNull AffineTransformcomputeCurrent(@NotNull MeasureContext context, long timestamp) private @NotNull AffineTransformcurrent(@NotNull MeasureContext context) @NotNull AnimatedTransformderive(@NotNull TransformValue initialValue) @NotNull AffineTransformget(@NotNull MeasureContext context) @NotNull TransformValueinitial()
-
Field Details
-
track
-
initial
-
values
-
current
-
currentTimestamp
private long currentTimestamp
-
-
Constructor Details
-
AnimatedTransform
public AnimatedTransform(@NotNull @NotNull Track track, @NotNull @NotNull TransformValue initial, @NotNull @NotNull TransformPart @NotNull [] values)
-
-
Method Details
-
initial
-
derive
-
current
-
computeCurrent
@NotNull private @NotNull AffineTransform computeCurrent(@NotNull @NotNull MeasureContext context, long timestamp) -
get
- Specified by:
getin interfaceTransformValue
-