Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 1.25 KB

CHANGELOG.md

File metadata and controls

50 lines (27 loc) · 1.25 KB

2.3.2

  • Fixed an error in toJson() when taperEnabled is true but customTaper is null.

2.3.1

  • Fixed an error that occured when trying to lerp a NaN point.

2.3.0

  • Added toJson() and fromJson() methods to StrokeOptions.

2.2.0

  • Breaking change: The properties of StrokeOptions are now non-nullable. This means that e.g. StrokeOptions.smoothing now defaults to StrokeOptions.defaultSmoothing instead of null. Note that you can change the defaults.

2.1.0

  • Breaking change: getStroke(points, options) is now getStroke(points, options: options).
  • You can now run getStroke(points, rememberSimulatedPressure: true) to store the simulated pressure values in the points list. (#12)

2.0.1

  • Fixed an edge case where we have an input of two equal points.

2.0.0

  • 2.0.0 is a complete re-port of the original JavaScript library to Dart. There are some breaking changes, but the API is mostly the same and some automatic migration is possible by running dart fix --apply.

1.0.4

  • One more fix to README.

1.0.3

  • Pub score optimizations.
  • Improve README.
  • Add FUNDING.

1.0.2

  • Fix README.

1.0.1

  • Fix README.

1.0.0

  • Initial version