45

GitHub - sakrist/BezierPath: Bezier path triangulation with Delaunay algorithm.

 5 years ago
source link: https://github.com/sakrist/BezierPath
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

BezierPath + Delaunay

Sample has OSBezierPath typealias to NSBezierPath and UIBezierPath. Implemented extensions to make OSBezierPath work similar/same on both platforms iOS and MacOS.

Also in this sample we have BezierPath class which is converting OSBezierPath into segments. Segments can be used to form shape.

Sample work on both iOS and MacOS.

Screenshot of example:

BezierPath Example


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK