Skip to content

v0.4.0

Compare
Choose a tag to compare
@hfutrell hfutrell released this 24 Apr 23:56

New features:

  • adds ability to split path components with PathComponent.split(from:, to:)
  • adds utility method for enumerating over points of PathComponent with option to include or exclude control points PathComponent.enumeratePoints(includeControlPoints:, using:)
  • allows subclassing of Path and PathComponent
  • adds Comparable support to IndexedPathLocation and IndexedPathComponentLocation
  • adds distanceSquared function between points

bugfixes

  • fixes a memory leak in vector boolean operations
  • improves support for converting to and from CoreGraphics paths that have single point subpaths