phimage/morphi
Morphi provides some additional [shapes](https://developer.apple.com/documentation/swiftui/shape) for SwiftUI.
Examples
Create a shape view
Like any other shapes just initialize it.
Heart().fill(Color.red).frame(width: 100, height: 100)
```
<img src="/Example/Heart.png" alt="Heart" height="128">
### Mask an existing view
```swift
aView.clipShape(Drop())
// or using static member
aView.clipShape(.drop)You can even do it on another shape.
Polygon(sides: 6).fill(Color.red).clipShape(.drop)<img src="/Example/PolygonDrop.png" alt="PolygonDrop" height="128">
UIKit
For UIKit version with UIBezierPath see IBAnimatable framework
Package Metadata
Repository: phimage/morphi
Default branch: master
README: README.md