Hierarchy

Methods

  • Parameters

    • webFont: WebFont
    • stroke: {
          width: number;
          cap: ctor;
          join: ctor;
          miterLimit: number;
      }
      • width: number
      • cap: ctor
      • join: ctor
      • miterLimit: number
    • texts: Vector<string>
    • positions: Vector<Point>
    • matrixWasmIns: any

    Returns void

Constructors

  • Parameters

    • canvas: HTMLCanvasElement | OffscreenCanvas
    • width: number
    • height: number

    Returns WebMask

Properties

canvas: HTMLCanvasElement | OffscreenCanvas
context: OffscreenCanvasRenderingContext2D | CanvasRenderingContext2D

Generated using TypeDoc