Hierarchy

Properties

canvas: HTMLCanvasElement | OffscreenCanvas
context: OffscreenCanvasRenderingContext2D | CanvasRenderingContext2D

Methods

  • Parameters

    • context: OffscreenCanvasRenderingContext2D | CanvasRenderingContext2D

    Returns void

  • Returns {
        ascent: number;
        descent: number;
        xHeight: number;
        capHeight: number;
    }

    • ascent: number
    • descent: number
    • xHeight: number
    • capHeight: number

Constructors

Generated using TypeDoc