1 | import Path, { PathProps } from '../graphic/Path';
|
2 | import { MatrixArray } from '../core/matrix';
|
3 | declare type SVGPathOption = Omit<PathProps, 'shape' | 'buildPath'>;
|
4 | declare class SVGPath extends Path {
|
5 | applyTransform(m: MatrixArray): void;
|
6 | }
|
7 | export declare function createFromString(str: string, opts?: SVGPathOption): SVGPath;
|
8 | export declare function extendFromString(str: string, defaultOpts?: SVGPathOption): typeof SVGPath;
|
9 | export declare function mergePath(pathEls: Path[], opts: PathProps): Path<PathProps>;
|
10 | export declare function clonePath(sourcePath: Path, opts?: {
|
11 | bakeTransform?: boolean;
|
12 | toLocal?: boolean;
|
13 | }): Path<PathProps>;
|
14 | export {};
|