addArc(withCenter) closing path
The following code: let size = CGSize(width: 200, height: 30) let rect = CGRect(origin: .zero, size: size) let path1 = UIBezierPath() path1.move(to: CGPoint(x: 10, y: 5)) path1.addLine(to: CGPoint(x: 180, y: 5)) path1.addArc(withCenter: CGPoint(x: 180, y: 20), radius: 15, startAngle: (3.14159 / 2), endAngle: (3 * 3.14159 / 2), clockwise: false) produces this: Ok, am I missing something? I do not want to close this path. I never call path1.close() . I want to add another straight line from the end of the arc, not from the closed version of it. Basically, I don't want the half circle to be