Methods
fillText
- fillText(text, x, y, maxWidth?): void
Parameters
- text: string
- x: number
- y: number
Optional
maxWidth: number
Returns void
measureText
- measureText(text): TextMetrics
strokeText
- strokeText(text, x, y, maxWidth?): void
Parameters
- text: string
- x: number
- y: number
Optional
maxWidth: number
Returns void
MDN Reference