Class Track
java.lang.Object
com.github.weisj.jsvg.animation.Track
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Fillprivate final DefaultInterpolatorprivate final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate @Nullable IntervalcurrentInterval(long timestamp) @NotNull Fillfill()@NotNull FloatInterpolator@NotNull FloatListInterpolator@NotNull Track.InterpolationProgressinterpolationProgress(long timestamp, int valueCount) private intiterationCount(@NotNull Duration duration, long timestampMillis) private floatiterationProgress(@NotNull Duration duration, long timestampMillis) @NotNull PaintInterpolatorstatic @Nullable Trackparse(@NotNull AttributeNode attributeNode, @NotNull AnimationValuesType valuesType, @NotNull Additive additive) parseBegin(@NotNull AttributeNode attributeNode) float@NotNull TransformInterpolator
-
Field Details
-
intervals
-
repeatCount
private final float repeatCount -
fill
-
interpolator
-
-
Constructor Details
-
Track
private Track(@NotNull @NotNull List<@NotNull Interval> intervals, float repeatCount, Fill fill, AnimationValuesType valuesType, Additive additive)
-
-
Method Details
-
parse
@Nullable public static @Nullable Track parse(@NotNull @NotNull AttributeNode attributeNode, @NotNull @NotNull AnimationValuesType valuesType, @NotNull @NotNull Additive additive) -
parseBegin
@NotNull private static @NotNull List<Duration> parseBegin(@NotNull @NotNull AttributeNode attributeNode) -
intervals
-
repeatCount
public float repeatCount() -
fill
-
iterationCount
-
iterationProgress
-
currentInterval
-
interpolationProgress
@NotNull public @NotNull Track.InterpolationProgress interpolationProgress(long timestamp, int valueCount) -
floatInterpolator
-
floatListInterpolator
-
paintInterpolator
-
transformInterpolator
-