Module

x/canvas/mod.ts

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

Properties

optional
strutEnabled: boolean
optional
fontFamilies: string[]
optional
fontStyle: FontStyle
optional
fontSize: number
optional
heightMultiplier: number
optional
leading: number
optional
forceStrutHeight: boolean