Gleam - v1.0.2
    Preparing search index...

    Interface CanvasConstruct

    A <canvas> element paired with its 2D rendering context. Returned by createNewCanvas / getCanvasConstruct and inherited by CanvasHolder.

    interface CanvasConstruct {
        canvas: HTMLCanvasElement;
        context: CanvasRenderingContext2D;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    canvas: HTMLCanvasElement

    The <canvas> element.

    context: CanvasRenderingContext2D

    Its 2D rendering context.