SwiftUITriangle

1.0.1

Triangles in SwiftUI
edonv/SwiftUITriangle

What's New

v1.0.1 - Small tweeks

2023-02-22T21:08:33Z

Full Changelog: v1.0.0...v1.0.1

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.

Description

  • Swift Tools 5.4.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 04:15:41 GMT-0900 (Hawaii-Aleutian Daylight Time)