@pencil.js/scene
v1.18.0
Published
Scene renderer for Pencil.js package.
Readme
Scene
Whole container of your drawing.
Installation
npm install @pencil.js/sceneExamples
import Scene from "@pencil.js/scene";
const options = {
fill: "#DDD"
};
const scene = new Scene(document.body, options);
scene.startLoop();RectangleOptions
Inherit from OffscreenCanvasOptions.
| Name | Type | Default | Comment |
| ---- | ---- | ------- | ------- |
|cursor |String |Component.cursors.default |Cursor on hover |
