plotomics
    Preparing search index...

    Interface PNGLayer

    A canvas to draw into a composite PNG, at its place in the widget.

    interface PNGLayer {
        canvas: HTMLCanvasElement;
        height: number;
        source?: { height: number; width: number; x: number; y: number };
        width: number;
        x: number;
        y: number;
    }
    Index
    canvas: HTMLCanvasElement
    height: number

    Height in the widget, in CSS px.

    source?: { height: number; width: number; x: number; y: number }

    The part of the canvas to draw, in canvas px. All of it by default.

    width: number

    Width in the widget, in CSS px.

    x: number

    Left edge in the widget, in CSS px.

    y: number

    Top edge in the widget, in CSS px.