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