Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/canvaseno/mod.ts>ShapedText

Canvas API for deno
Latest
interface ShapedText
import { type ShapedText } from "https://deno.land/x/canvaseno@v1.0.2/mod.ts";

A simple wrapper around SkTextBlob and the simple Text Shaper.

Methods

getBounds(outputArray?: SkRect): SkRect

Return the bounding area for the given text.