Skip to content

Types

RenderOptions ​

Defined in: createRenderer.js:119

The viewport to draw into. Defaults to the whole canvas.

Properties ​

PropertyTypeDescription
height?numberHeight; the canvas height by default.
width?numberWidth; the canvas width by default.
x?numberLeft edge, in device pixels. Defaults to 0.
y?numberBottom edge, in device pixels. Defaults to 0.