Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CanvasText

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

§Methods

§
fillText(
text: string,
x: number,
y: number,
maxWidth?: number,
): void
[src]
§
measureText(text: string): TextMetrics
[src]
§
strokeText(
text: string,
x: number,
y: number,
maxWidth?: number,
): void
[src]