Skip to content

Adds a convenience initalizer to UIBezierPath for generating n-sided regular polygon paths – with rounded corners support – in Swift!

License

Notifications You must be signed in to change notification settings

louisdh/bezierpath-polygons

Repository files navigation

UIBezierPath + Polygons 🔸 🔺 🔷

Swift Twitter Donate

This project adds a convenience initalizer to UIBezierPath for generating n-sided regular polygon paths – with rounded corners support – in Swift!

Also included is RoundedRegularPolygonView, a UIView subclass with IBInspectables for certain path properties.

Polygon views in a UIStoryboard

Requirements

  • iOS 8.0+
  • Xcode 9.0+

License

This project is available under the MIT license. See the LICENSE file for more info.

About

Adds a convenience initalizer to UIBezierPath for generating n-sided regular polygon paths – with rounded corners support – in Swift!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages