Class AnimatedFloatList

java.lang.Object
com.github.weisj.jsvg.animation.value.AnimatedFloatList
All Implemented Interfaces:
FloatListValue

public final class AnimatedFloatList extends Object implements FloatListValue
  • Field Details

    • 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 Details

    • AnimatedFloatList

      public AnimatedFloatList(@NotNull @NotNull Track track, @NotNull @NotNull FloatListValue initial, float @NotNull [] @NotNull [] values)
  • Method Details

    • 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 interface FloatListValue