Whole container of your drawing.
import { Scene } from "pencil.js";
const options = {
fill: "#DDD"
};
const scene = new Scene(document.body, options);
scene.startLoop();
Inherit from OffscreenCanvasOptions.
Name | Type | Default | Comment |
---|---|---|---|
cursor | String |
Component.cursors.default |
Cursor on hover |