artboard:draw(renderer, visitor). It is only valid inside that visitor
call.
Artboards
Drawable
A drawable that carries custom properties, handed to the visitor of
The custom number property of this key, nil when there is none.
The custom boolean property of this key, nil when there is none.
The custom color property of this key, nil when there is none.
The custom string property of this key, nil when there is none.
Every custom property on the drawable. For tooling and debugging:
the editor and rive-cli have it, a shipping runtime does not, so do
not call it from a script you ship.
Draws the drawable under the renderer’s current state.
Was this page helpful?