svg-path-commander 2.0.0-alpha1 → 2.0.0-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -271,7 +271,7 @@ export type ShapeTypes = SVGPolylineElement | SVGPolygonElement | SVGLineElement
|
|
|
271
271
|
export type ShapeOps = LineAttr | PolyAttr | PolyAttr | EllipseAttr | CircleAttr | RectAttr | GlyphAttr;
|
|
272
272
|
declare class SVGPathCommander {
|
|
273
273
|
static CSSMatrix: typeof CSSMatrix;
|
|
274
|
-
static getPathBBox: (path?: PathArray | undefined) => PathBBox;
|
|
274
|
+
static getPathBBox: (path?: string | PathArray | undefined) => PathBBox;
|
|
275
275
|
static getPathArea: (path: PathArray) => number;
|
|
276
276
|
static getTotalLength: (pathInput: string | PathArray) => number;
|
|
277
277
|
static getDrawDirection: (path: string | PathArray) => boolean;
|