UNPKG

svg-pathdata

Version:

Manipulate SVG path data (path[d] attribute content) simply and efficiently.

8 lines (7 loc) 309 B
import type { SVGCommand } from '../types.js'; /** * Process a path and remove collinear points * @param commands Array of SVG path commands to process (must be absolute) * @returns New array with collinear points removed */ export declare function REMOVE_COLLINEAR(commands: SVGCommand[]): SVGCommand[];