GraphPoint 3.3.0

GraphPoint 3.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2019
SPMSupports SPM

Maintained by Richard Piazza.



GraphPoint

Version Platform

GraphPoint is a library of Swift extensions for using a Cartesian Coordinate System with CGRect. The Cartesian Coordinate System defines the origin as the center point and it uses several mathematical laws to determine angles and points within a CGRect.

For Example:

  • Given a CGRect(0, 0, 100, 100)
  • The origin would be CGPoint(50, 50)
  • A CGPoint(75, 75) would be translated to GraphPoint(25, -25)