Skip to main content
Module

x/canvas/types.ts>ShapedText

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface ShapedText
import { type ShapedText } from "https://deno.land/x/canvas@v1.0.0/types.ts";

A simple wrapper around SkTextBlob and the simple Text Shaper.

Methods

getBounds(outputArray?: SkRect): SkRect

Return the bounding area for the given text.