• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Drawing a 5 Sided Star Shape
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing a 5 Sided Star Shape


  • Subject: Drawing a 5 Sided Star Shape
  • From: Dave <email@hidden>
  • Date: Fri, 2 Jun 2017 13:56:35 +0200

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 looking star I’d be really grateful.

Thanks a lot
All the Best
Dave

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Drawing a 5 Sided Star Shape
      • From: William Scherrer <email@hidden>
    • Re: Drawing a 5 Sided Star Shape
      • From: Jonathan Mitchell <email@hidden>
  • Prev by Date: Re: KVO - deallocation with observers attached
  • Next by Date: Re: Drawing a 5 Sided Star Shape
  • Previous by thread: Re: KVO - deallocation with observers attached
  • Next by thread: Re: Drawing a 5 Sided Star Shape
  • Index(es):
    • Date
    • Thread