Class AnimatedFloatList
java.lang.Object
com.github.weisj.jsvg.animation.value.AnimatedFloatList
- All Implemented Interfaces:
FloatListValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float[]private final @NotNull FloatListValueprivate Track.InterpolationProgressprivate longprivate final @NotNull Trackprivate final float @NotNull [] @NotNull [] -
Constructor Summary
ConstructorsConstructorDescriptionAnimatedFloatList(@NotNull Track track, @NotNull FloatListValue initial, float @NotNull [] @NotNull [] values) -
Method Summary
Modifier and TypeMethodDescriptionfloat @NotNull []get(@NotNull MeasureContext context) @NotNull FloatListValueinitial()booleanisDirty(long timestamp)
-
Field Details
-
track
-
initial
-
values
private final float @NotNull [] @NotNull [] values -
cache
private float[] cache -
timestamp
private long timestamp -
progressCacheKey
-
-
Constructor Details
-
AnimatedFloatList
public AnimatedFloatList(@NotNull @NotNull Track track, @NotNull @NotNull FloatListValue initial, float @NotNull [] @NotNull [] values)
-
-
Method Details
-
initial
-
isDirty
public boolean isDirty(long timestamp) -
get
- Specified by:
getin interfaceFloatListValue
-