heestand-xyz / PolyKit

Rounded Polygons in SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PolyKit

Rounded Polygons in SwiftUI

              

Add to App

  • File / Swift Packages / Add Package Dependecy
  • Search for PolyKit by heestand-xyz
  • Add Up to Next Major from 2.0.0

Example

import SwiftUI
import PolyKit

struct ContentView: View {
    var body: some View {
        Polygon(count: 6, cornerRadius: 60)
    }
}

Add to Package

.package(url: "https://github.com/heestand-xyz/PolyKit.git", from: "2.0.0")

About

Rounded Polygons in SwiftUI

License:MIT License


Languages

Language:Swift 100.0%