package.lib.tool.path.d.ts Maven / Gradle / Ivy
import Path, { PathProps } from '../graphic/Path';
import { MatrixArray } from '../core/matrix';
declare type SVGPathOption = Omit;
declare class SVGPath extends Path {
applyTransform(m: MatrixArray): void;
}
export declare function createFromString(str: string, opts?: SVGPathOption): SVGPath;
export declare function extendFromString(str: string, defaultOpts?: SVGPathOption): typeof SVGPath;
export declare function mergePath(pathEls: Path[], opts: PathProps): Path;
export declare function clonePath(sourcePath: Path, opts?: {
bakeTransform?: boolean;
toLocal?: boolean;
}): Path;
export {};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy