Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface CanvasText
import { type CanvasText } from "https://deno.land/x/canvaseno@v1.0.2/types.ts";

Methods

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