Package Exports
- simplify
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simplify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Simplify
Path smoothing component, a fork of simplify-js.
Installation
$ component install component/simplify
API
simplify(points, [tolerance], [highestQuality])
Simplify the given points
, an array of objects with .x
and .y
properties, with the given tolerance
defaulting to 1
.
License
BSD