EdgeBracketShape

1.0.0

SwiftUI shape and ViewModifier to add a customizable bracket on the edge of a View.
edonv/EdgeBracketShape

EdgeBracketShape

A SwiftUI Shape that cleanly wraps around any edge of a View. It's drawing settings are customizable via EdgeBracketConfiguration, allowing for changing the padding, which edge to draw on, StrokeStyle, coloring (via ShapeStyle, allowing for solid colors or gradients), the length of the brackets, and whether the set length of the brackets should stay clamped to the size of the frame. Additionally, it will flip horizontally automatically in support of right-to-left languages.

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Mar 29 2024 22:18:33 GMT-0900 (Hawaii-Aleutian Daylight Time)