MCPcopy Create free account
hub / github.com/JetBrains/skija / render

Method render

shared/java/skottie/Animation.java:61–64  ·  view source on GitHub ↗

Draws the current animation frame It is undefined behavior to call render() on a newly created Animation before specifying an initial frame via one of the seek() variants. @param canvas destination canvas @return this

(@NotNull Canvas canvas)

Source from the content-addressed store, hash-verified

59 * @return this
60 */
61 @NotNull @Contract("!null -> this; null -> fail")
62 public Animation render(@NotNull Canvas canvas) {
63 return render(canvas, Rect.makeXYWH(0, 0, getWidth(), getHeight()));
64 }
65
66 /**
67 * <p>Draws the current animation frame</p>

Callers

nothing calls this directly

Calls 6

makeXYWHMethod · 0.95
getWidthMethod · 0.95
getHeightMethod · 0.95
onNativeCallMethod · 0.95
_nRenderMethod · 0.95
getPtrMethod · 0.95

Tested by

no test coverage detected