Module

x/canvas/mod.ts>TextMetrics

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

Properties

actualBoundingBoxAscent: number
actualBoundingBoxDescent: number
actualBoundingBoxLeft: number
actualBoundingBoxRight: number
alphabeticBaseline: number
emHeightAscent: number
emHeightDescent: number
fontBoundingBoxAscent: number
fontBoundingBoxDescent: number
hangingBaseline: number
ideographicBaseline: number
width: number