@thi.ng/geom
Version:
Functional, polymorphic API for 2D geometry types & SVG generation
13 lines • 442 B
TypeScript
import type { Attribs } from "./api.js";
import type { Arc } from "./api/arc.js";
import { Path } from "./api/path.js";
/**
* Converts given arc into a closed path describing a sector (using the arc's
* center point). If `attribs` are given they will be used instead of the arc's
* attribs.
*
* @param arc
* @param attribs
*/
export declare const asSector: (arc: Arc, attribs?: Attribs) => Path;
//# sourceMappingURL=as-sector.d.ts.map