Interface CanvasSnapshotRect

interface CanvasSnapshotRect {
    assumeClientRect?: boolean;
    height: number;
    width: number;
    x: number;
    y: number;
}

Properties

assumeClientRect?: boolean

Use if canvas.width !== canvas.clientWidth or height and rect is based on client rect

height: number
width: number
x: number
y: number

Generated using TypeDoc