How can I use a CAGradientLayer to most efficiently draw a gradient around a circle / with angles?
I made the one underneath with the help of this project. It uses a bitmap context for drawing but a CAGradientLayer would be far more efficient.
Unfortunately I could only figure out how to make linear gradients with it.