@thi.ng/hiccup-canvas
Version:
Hiccup shape tree renderer for vanilla Canvas 2D contexts
5 lines • 499 B
TypeScript
import type { IObjectOf } from "@thi.ng/api";
import type { ReadonlyVec } from "@thi.ng/vectors";
export declare const circularArc: (ctx: CanvasRenderingContext2D, attribs: IObjectOf<any>, pos: ReadonlyVec, r: number, start?: number, end?: number, ccw?: boolean) => void;
export declare const ellipticArc: (ctx: CanvasRenderingContext2D, attribs: IObjectOf<any>, pos: ReadonlyVec, r: ReadonlyVec, axis?: number, start?: number, end?: number, ccw?: boolean) => void;
//# sourceMappingURL=arc.d.ts.map