Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

platform Lang SPM compatible SwiftLint Sindre Reviewed by Hound codebeat badge Github actions badge

Features:

  • Common geometry methods

Installation:

  • Swift package manager "https://github.com/eonist/GeomKit" target "master"
  • Manual Open GeomKit.xcodeproj

Example:

let rect: CGRect = .init(origin: .zero, size: .init(width: 100, height: 100))
let cgPath = CGRectParser.roundRect(rect: rect, radius: 20)
let shapeLayer: CAShapeLayer = .init()
CGPathModifier.fill(shape: shapeLayer, cgPath: cgPath, fillColor: .green)
self.view.layer.addSublayer(shapeLayer)

About

Sugar for Geom

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.