Class CanvasTextRenderer

A class for rendering text to a canvas You're supposed to use this class through the renderer

Hierarchy

  • CanvasTextRenderer

Constructors

Properties

canvas: HTMLCanvasElement
ctx: CanvasRenderingContext2D
currentFont: string = "Arial"
currentFontSize: number = 32
renderer: Renderer

Methods

Generated using TypeDoc