D
D
Darkness2020-11-25 18:29:54
Swift
Darkness, 2020-11-25 18:29:54

How to draw a given UIView using UIBezierPath?

Goal:
Draw a given circle, the color part can be completely filled, or maybe half, etc.
The text inside is not needed.
5fbe77ccc6232352070542.png

What I did: I
sat all day and did it through the search for an angle, turning this angle, moved all 5 found arcs in the right view.
But I realized that most likely it can be done so that there is one circle with 5 parts, unfortunately, I did not understand how to do it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question