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
- measureText(text: string): TextMetrics
-
strokeText
- strokeText(text: string, x: number, y: number, maxWidth?: number): void
-
Parameters
-
text: string
-
x: number
-
y: number
-
Optional
maxWidth: number
Returns void