Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CanvasText

Hierarchy

Index

Methods

fillText

  • fillText(text: string, x: number, y: number, maxWidth?: number): void
  • Parameters

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

    Returns void

measureText

  • Parameters

    • text: string

    Returns TextMetrics

strokeText

  • strokeText(text: string, x: number, y: number, maxWidth?: number): void
  • Parameters

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

    Returns void

Generated using TypeDoc