Swiftpack.co - edonv/SwiftUITriangle as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by edonv.
edonv/SwiftUITriangle v1.0.3
Triangles in SwiftUI
⭐️ 0
🕓 1 year ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/edonv/SwiftUITriangle.git", from: "v1.0.3")

Triangle

Triangle is a small package for drawing basic triangles in SwiftUI.

Triangles can be drawn with automatically evenly-distributed lines and angles, or with specific angles set. Alternatively, they can be drawn with the upper vertex a relative distance across the top edge of the frame.

All triangles are drawn right-side up, with 1 side flat on the bottom of the frame. This is to eliminate any extra coordinate-based complications. If you need to manipulate them in a more complex way, all of SwiftUI's View, Shape, and InsettableShape modifiers are at your disposal to scale, rotate, move, and more.

GitHub

link
Stars: 0
Last commit: 4 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.0.1 - Small tweeks
1 year ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics