v0.6.1
scale()
now returns nil
when attempting to scale an unscalable curve, such as a point.
PathComponent.offset()
now ignores curves that cannot be scaled, and returns nil
if none of the component’s curves could be scaled. In previous releases offsetting a circle with zero radius would result in a crash.
Fixes issues with vector boolean operations on paths with coincident edges
Removes cgPath
property of PathComponent
. If you need this consider constructing a Path with a single component, ie using Path(components: [component]).cgPath
Improves the performance of computing Path.cgPath
in the case of multi-component paths. This is especially relevant to dashed paths which can have hundreds of components.