Check out example codes for "add arc swiftui". It will help you in understanding the concepts better.

Code Example 1

struct MyShape : Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()

        p.addArc(center: CGPoint(x: 100, y:100), radius: 50, startAngle: .degrees(0), endAngle: .degrees(90), clockwise: true)

        return p.strokedPath(.init(lineWidth: 3, dash: [5, 3], dashPhase: 10))  // To make it a dashed line.
    }    
}

Learn ReactJs, React Native from akashmittal.com