Specifying UIBezierPath points with corner radii like in drawing apps (e.g. Sketch)
问题 In drawing apps such as Sketch, when you draw a vector, you can specify a custom corner radius for each point individually. For example, here is a 5 point vector, with the middle point's corner radius set to 17: (The top left and bottom right points have custom radii as well.) In Swift, I can draw paths using a UIBezierPath, but when I specify addLine , I'm only given an option to specify a point. I don't have the option to specify a corner radius. How do I give addLine a corner radius? It