Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 531 Bytes

readme.md

File metadata and controls

24 lines (16 loc) · 531 Bytes

Scene

Whole container of your drawing.

Examples

import { Scene } from "pencil.js";

const options = {
    fill: "#DDD"
};
const scene = new Scene(document.body, options);
scene.startLoop();

SceneOptions

Inherit from OffscreenCanvasOptions.

Name Type Default Comment
cursor String Component.cursors.default Cursor on hover