perfect_freehand 2.3.1
perfect_freehand: ^2.3.1 copied to clipboard
Draw perfect pressure-sensitive freehand lines. A set of functions for turning input points into a polygon of outline points.
2.3.1 #
- Fixed an error that occured when trying to lerp a NaN point.
2.3.0 #
- Added
toJson()andfromJson()methods toStrokeOptions.
2.2.0 #
- Breaking change: The properties of
StrokeOptionsare now non-nullable. This means that e.g.StrokeOptions.smoothingnow defaults toStrokeOptions.defaultSmoothinginstead ofnull. Note that you can change the defaults.
2.1.0 #
- Breaking change:
getStroke(points, options)is nowgetStroke(points, options: options). - You can now run
getStroke(points, rememberSimulatedPressure: true)to store the simulated pressure values in thepointslist. (#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