UNPKG

svg-path-d

Version:

SVG path data (path[d] attribute content) manipulation library.

7 lines (6 loc) 432 B
import { PathNode } from './path-node'; export declare function canSplit(item: Readonly<PathNode>): boolean; export declare function bisect(item: Readonly<PathNode>, t?: number): PathNode[]; export declare function trisect(item: Readonly<PathNode>, t?: number): PathNode[]; export declare function split(item: Readonly<PathNode>, count: number): PathNode[]; export declare function getGroups(items: PathNode[]): PathNode[][];