UNPKG

@thi.ng/hiccup-canvas

Version:

Hiccup shape tree renderer for vanilla Canvas 2D contexts

5 lines 402 B
import type { IObjectOf } from "@thi.ng/api"; import type { ReadonlyVec } from "@thi.ng/vectors"; export declare const polyline: (ctx: CanvasRenderingContext2D, attribs: IObjectOf<any>, pts: ReadonlyVec[]) => void; export declare const packedPolyline: (ctx: CanvasRenderingContext2D, attribs: IObjectOf<any>, opts: IObjectOf<any>, pts: ArrayLike<number>) => void; //# sourceMappingURL=polyline.d.ts.map