- java.lang.Object
-
- com.github.weisj.jsvg.animation.value.AnimatedFloatList
-
- All Implemented Interfaces:
FloatListValue
public final class AnimatedFloatList extends java.lang.Object implements FloatListValue
-
-
Field Summary
Fields Modifier and Type Field Description private float[]
cache
private @NotNull FloatListValue
initial
private Track.InterpolationProgress
progressCacheKey
private long
timestamp
private @NotNull Track
track
private float @NotNull [] @NotNull []
values
-
Constructor Summary
Constructors Constructor Description AnimatedFloatList(@NotNull Track track, @NotNull FloatListValue initial, float @NotNull [] @NotNull [] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float @NotNull []
get(@NotNull MeasureContext context)
@NotNull FloatListValue
initial()
boolean
isDirty(long timestamp)
-
-
-
Field Detail
-
track
@NotNull private final @NotNull Track track
-
initial
@NotNull private final @NotNull FloatListValue initial
-
values
private final float @NotNull [] @NotNull [] values
-
cache
private float[] cache
-
timestamp
private long timestamp
-
progressCacheKey
private Track.InterpolationProgress progressCacheKey
-
-
Constructor Detail
-
AnimatedFloatList
public AnimatedFloatList(@NotNull @NotNull Track track, @NotNull @NotNull FloatListValue initial, float @NotNull [] @NotNull [] values)
-
-
Method Detail
-
initial
@NotNull public @NotNull FloatListValue initial()
-
isDirty
public boolean isDirty(long timestamp)
-
get
public float @NotNull [] get(@NotNull @NotNull MeasureContext context)
- Specified by:
get
in interfaceFloatListValue
-
-