Closed zplata closed 1 year ago
Exposes a way to call Canvas2D's drawImage() API from the renderer returned from .makeRenderer(canvas) to allow folks to draw separate images on the canvas alongside Rive content, while making sure it stays within the deferred drawList ops.
drawImage()
.makeRenderer(canvas)
Also fixing types for this for TypeScript defs.
Exposes a way to call Canvas2D's
drawImage()
API from the renderer returned from.makeRenderer(canvas)
to allow folks to draw separate images on the canvas alongside Rive content, while making sure it stays within the deferred drawList ops.Also fixing types for this for TypeScript defs.