{"repo":"ryanlintott/ShapeUp","free":true,"listed":false,"github":"https://github.com/ryanlintott/ShapeUp","clone":"git clone https://github.com/ryanlintott/ShapeUp.git","description":"Make shapes and cut corners in SwiftUI","language":"Swift","stars":161,"topics":["shapes","swiftui","geometry","emboss"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Overview A Swift Package that makes SwiftUI shapes easier to build, transform, inset, and animate. Create corners using relative anchor points, apply corner styles, move/rotate/scale/mirror them with ease, add notches along any edge, and wrap them in a CornerShape that is automatically insettable and animatable Features: - RectAnchor , an enum for major anchor points in a rectangle or coordinate frame. - Extensions to quickly transform CGPoint , CGRect , and CGSize - Corner , a CGPoint with style . - CornerStyle options: .automatic , .point , .rounded , .straight , .cutout , .concave , and .custom . - Basic shapes like CornerRectangle , CornerTriangle , and CornerPentagon with stylable corners. - CornerShape , a protocol for making your own open or closed shapes out of an array of Corners. - CornerCustom , for building corner shapes inline without making a new type. - RelativeCornerCustom , for building animatable corner shapes from relative positions. - Add a Notch of any NotchStyle between two corners. - .addOpenCornerShape() or .addClosedCornerShape() for adding a few corners to a SwiftUI Path - .addContinuousCurve() , a Path method for adding a single continuous corner curve between two tangent lines. - Vector2 , a type similar to CGPoint but used to do vector math. - Vector2Representable protocol that adds a .vector property needed to conform to other Vector2-related protocols. - Vector2Algebraic protocol used to add vector algebra capabilities to Vector2 - Vector2Transf","default_branch":null,"files":null,"tree":[],"storefront":"/r/ryanlintott","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ryanlintott/ShapeUp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}