Api - importer Namespace
Index
Interfaces
Functions
Functions
fromSVGPathData
-
Parameters
-
pathData: string
SVG path data.
-
Default value options: ISVGImportOptions = {}
ISVGImportOptions object.
Returns IModel
An IModel object.
-
parseNumericList
-
Create a numeric array from a string of numbers. The numbers may be delimited by anything non-numeric.
Example:
var n = makerjs.importer.parseNumericList('5, 10, 15.20 25-30-35 4e1 .5');
Parameters
-
s: string
The string of numbers.
Returns number[]
Array of numbers.
-
Generated using TypeDoc
Create a model from SVG path data.