interface CanvasText {
    fillText(text, x, y, maxWidth?): void;
    measureText(text): TextMetrics;
    strokeText(text, x, y, maxWidth?): void;
}

Hierarchy (view full)

Methods

  • Parameters

    • text: string
    • x: number
    • y: number
    • Optional maxWidth: number

    Returns void

  • Parameters

    • text: string
    • x: number
    • y: number
    • Optional maxWidth: number

    Returns void