Class CanvasRenderer

Constructors

Methods

  • Parameters

    • type: string

    Returns HTMLCanvasElement

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • context2D: CanvasRenderingContext2D
    • symbol: TSymbol

    Returns void

  • Parameters

    • element: HTMLElement

    Returns void

  • Parameters

    Returns void

  • Returns void

Properties

#logger: Logger = ...
context: {
    capturingCanvas: HTMLCanvasElement;
    capturingCanvasContext: CanvasRenderingContext2D;
    parent: HTMLElement;
    renderingCanvas: HTMLCanvasElement;
    renderingCanvasContext: CanvasRenderingContext2D;
}

Type declaration

  • capturingCanvas: HTMLCanvasElement
  • capturingCanvasContext: CanvasRenderingContext2D
  • parent: HTMLElement
  • renderingCanvas: HTMLCanvasElement
  • renderingCanvasContext: CanvasRenderingContext2D
shapeRenderer: CanvasRendererShape
strokeRenderer: CanvasRendererStroke
textRenderer: CanvasRendererText

Generated using TypeDoc