@kayahr/wastelib
    Preparing search index...

    Interface CanvasLike

    Minimal interface for a canvas.

    interface CanvasLike {
        height: number;
        width: number;
        getContext(contextId: "2d"): CanvasContext2DLike | null;
    }
    Index

    Properties

    Methods

    Properties

    height: number

    The height of the canvas in pixels.

    width: number

    The width of the canvas in pixels.

    Methods