Interface WebMask

Hierarchy

  • WebMask

Properties

fillPath: ((path: Path2D, fillType: ctor) => void)

Type declaration

    • (path: Path2D, fillType: ctor): void
    • Parameters

      • path: Path2D
      • fillType: ctor

      Returns void

fillText: ((webFont: WebFont, texts: Vector<string>, positions: Vector<Point>, matrixWasmIns: any) => void)

Type declaration

strokeText: ((webFont: WebFont, stroke: {
    width: number;
    cap: ctor;
    join: ctor;
    miterLimit: number;
}, texts: Vector<string>, positions: Vector<Point>, matrixWasmIns: any) => void)

Type declaration

    • (webFont: WebFont, stroke: {
          width: number;
          cap: ctor;
          join: ctor;
          miterLimit: number;
      }, texts: Vector<string>, positions: Vector<Point>, matrixWasmIns: any): void
    • 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

clear: (() => void)

Type declaration

    • (): void
    • Returns void

update: ((GL: EmscriptenGL) => void)

Type declaration

Generated using TypeDoc