Drawing circle in Objective-c

后端 未结 4 464
忘掉有多难
忘掉有多难 2021-02-02 04:36

I am a beginner in iPhone programing. I need to create circles like Figure 1, where it should be divided in six different parts with four different levels (see Figure 1). Furthe

4条回答
  •  有刺的猬
    2021-02-02 05:08

    Actually I think this revised answer will help you more in the long run. Take a look at the documentation for these:

    CGPathAddLineToPoint    
    CGPathAddArc
    

    This is what I used to do basically exactly what your trying to do.

提交回复
热议问题