Class AnimatedPaint
java.lang.Object
com.github.weisj.jsvg.animation.value.AnimatedPaint
- All Implemented Interfaces:
SVGPaint
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnimatedPaint(@NotNull Track track, @NotNull SVGPaint initial, @NotNull SVGPaint @NotNull [] values) -
Method Summary
Modifier and TypeMethodDescriptionprivate @NotNull SVGPaintcomputeCurrent(long timestamp) private @NotNull SVGPaintcurrent(@NotNull MeasureContext context) @NotNull AnimatedPaintvoiddrawShape(@NotNull Output output, @NotNull RenderContext context, @NotNull Shape shape, @Nullable Rectangle2D bounds) voidfillShape(@NotNull Output output, @NotNull RenderContext context, @NotNull Shape shape, @Nullable Rectangle2D bounds) booleanisVisible(@NotNull RenderContext context)
-
Field Details
-
track
-
initial
-
values
-
current
-
currentTimestamp
private long currentTimestamp
-
-
Constructor Details
-
AnimatedPaint
-
-
Method Details
-
derive
-
current
-
computeCurrent
-
fillShape
public void fillShape(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull Shape shape, @Nullable @Nullable Rectangle2D bounds) -
drawShape
public void drawShape(@NotNull @NotNull Output output, @NotNull @NotNull RenderContext context, @NotNull @NotNull Shape shape, @Nullable @Nullable Rectangle2D bounds) -
isVisible
-