Jon_Hull
(Jon Hull)
1
I have found the following 2 api on CGPath:
path.copy(strokingWithWidth:, lineCap:, lineJoin:, miterLimit:)
path.copy(dashingWithPhase:, lengths:)
I really need an API which returns the stroke path with a dash and a given width at the same time. Is there a way to do that?
jjatie
2
Why not just:
let newPath = path.copy(strokingWithWidth:, lineCap:, lineJoin:, miterLimit:)?
.copy(dashingWithPhase:, lengths:)