There is a good one in the Quartz 2D Programming Guide in the Patterns section
- Will
> On Jun 2, 2017, at 6:56 AM, Dave wrote:
>
> Hi,
>
> I want to draw a 5 sided Star Shape using UIBezierPath. I’ve search for a
> general purpose algorithm, but I can’t find anything that I can get to work
> On 2 Jun 2017, at 12:56, Dave wrote:
>
> Hi,
>
> I want to draw a 5 sided Star Shape using UIBezierPath. I’ve search for a
> general purpose algorithm, but I can’t find anything that I can get to work
> with Cocoa/Objective-C.
>
You could take a peek at https://www.paintcodeapp.com
Hi,
I want to draw a 5 sided Star Shape using UIBezierPath. I’ve search for a
general purpose algorithm, but I can’t find anything that I can get to work
with Cocoa/Objective-C.
This code is to go into a UIView subclass in the drawRect: method.
If anyone has some code that will draw a decent