Skip to content

v0.5.0

Compare
Choose a tag to compare
@hfutrell hfutrell released this 25 Apr 22:06

changes:

  • upgraded swift version to 5.0
  • renames BezierCurve.project(point: pointToProject, errorThreshold: epsilon) to BezierCurve.project(_:, accuracy:). The method now returns a tuple (point: CGPoint, t: CGFloat) for applications that need the t value of the projection.
  • the errorThreshold parameter of Path.pointIsWithinDistanceOfBoundary has been renamed to accuracy