I am creating arc with below line
func drawSomething(_ context: CGContext, rect: CGRect) {
context.saveGState()
let path = UIBezierPath()
let pathStartRagAngle = (0).degreesToRadians
let pathEndRagAngle = (220).degreesToRadians
path.addArc(withCenter: centerS, radius: rangeLabelsRect.size.width / 2.0, startAngle: CGFloat(pathStartRagAngle), endAngle: CGFloat(pathEndRagAngle - 0.01), clockwise: true)
let color = UIColor.red
color.setStroke()
path.lineWidth = rangeLabelsWidth
path.stroke()
}
what I wanted to do is add circle to end of red arc, for that I need CGPoint. so could find any way to do it,