Class AnimatedPercentage
java.lang.Object
com.github.weisj.jsvg.animation.value.AnimatedPercentage
- All Implemented Interfaces:
PercentageValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @NotNull PercentageValueprivate final PercentageValueprivate final @NotNull Trackprivate final float @NotNull [] -
Constructor Summary
ConstructorsConstructorDescriptionAnimatedPercentage(@NotNull Track track, @NotNull PercentageValue initial, float @NotNull [] values, PercentageValue multiplier) -
Method Summary
Modifier and TypeMethodDescription@NotNull AnimatedPercentagederive(@NotNull PercentageValue initial) floatget(@NotNull MeasureContext context) private floatgetBase(@NotNull MeasureContext context) @NotNull PercentageValueinitial()@NotNull PercentageValuemultiply(@NotNull PercentageValue other)
-
Field Details
-
track
-
initial
-
values
private final float @NotNull [] values -
multiplier
-
-
Constructor Details
-
AnimatedPercentage
public AnimatedPercentage(@NotNull @NotNull Track track, @NotNull @NotNull PercentageValue initial, float @NotNull [] values, PercentageValue multiplier)
-
-
Method Details
-
derive
-
multiply
- Specified by:
multiplyin interfacePercentageValue
-
initial
-
getBase
-
get
- Specified by:
getin interfacePercentageValue
-