UNPKG

@thi.ng/hiccup-canvas

Version:

Hiccup shape tree renderer for vanilla Canvas 2D contexts

4 lines 273 B
import type { IObjectOf } from "@thi.ng/api"; import type { ReadonlyVec } from "@thi.ng/vectors"; export declare const text: (ctx: CanvasRenderingContext2D, attribs: IObjectOf<any>, pos: ReadonlyVec, body: any, maxWidth?: number) => void; //# sourceMappingURL=text.d.ts.map