@thi.ng/geom
Version:
Functional, polymorphic API for 2D geometry types & SVG generation
16 lines • 575 B
TypeScript
import type { GroupAttribs, IHiccupShape2 } from "./api.js";
import { Group } from "./api/group.js";
/**
* Creates a group with given attribs and child shapes (nested groups are
* supported).
*
* @remarks
* Use the special `__inkscapeLayer` control attrib to declare the group as an
* Inkscape layer and the given value as layer name (only relevant and used when
* later converted to SVG).
*
* @param attribs
* @param children
*/
export declare const group: (attribs?: GroupAttribs, children?: Iterable<IHiccupShape2>) => Group;
//# sourceMappingURL=group.d.ts.map