├── .github └── FUNDING.yml ├── .gitignore ├── LICENSE ├── Package.swift ├── README.md ├── Resources ├── lines.png ├── patterns.png └── regularRectangles.png ├── Sources └── Shapes │ ├── CGPoint+Extensions.swift │ ├── Lines │ ├── Line.swift │ └── QuadCurve.swift │ ├── Other │ └── HalfCapsule.swift │ ├── Path+Extensions.swift │ ├── Path │ ├── Path+AddLineFromTo.swift │ └── Path+QuadCurves.swift │ ├── Patterns │ └── GridPattern.swift │ ├── RegularPolygons │ ├── RegularPolygon.swift │ └── RegularPolygonPath.swift │ ├── RoundedRegularPolygons │ ├── RoundedRegularPolygon.swift │ └── RoundedRegularPolygonPath.swift │ ├── RoundedStarPolygons │ └── RoundedStarPolygon.swift │ └── StarPolygons │ ├── StarPolygon.swift │ └── StarPolygonPath.swift └── Tests └── ShapesTests └── ShapesTests.swift /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [spacenation] 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | .swiftpm 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/README.md -------------------------------------------------------------------------------- /Resources/lines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Resources/lines.png -------------------------------------------------------------------------------- /Resources/patterns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Resources/patterns.png -------------------------------------------------------------------------------- /Resources/regularRectangles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Resources/regularRectangles.png -------------------------------------------------------------------------------- /Sources/Shapes/CGPoint+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/CGPoint+Extensions.swift -------------------------------------------------------------------------------- /Sources/Shapes/Lines/Line.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/Lines/Line.swift -------------------------------------------------------------------------------- /Sources/Shapes/Lines/QuadCurve.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/Lines/QuadCurve.swift -------------------------------------------------------------------------------- /Sources/Shapes/Other/HalfCapsule.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/Other/HalfCapsule.swift -------------------------------------------------------------------------------- /Sources/Shapes/Path+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/Path+Extensions.swift -------------------------------------------------------------------------------- /Sources/Shapes/Path/Path+AddLineFromTo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/Path/Path+AddLineFromTo.swift -------------------------------------------------------------------------------- /Sources/Shapes/Path/Path+QuadCurves.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/Path/Path+QuadCurves.swift -------------------------------------------------------------------------------- /Sources/Shapes/Patterns/GridPattern.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/Patterns/GridPattern.swift -------------------------------------------------------------------------------- /Sources/Shapes/RegularPolygons/RegularPolygon.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/RegularPolygons/RegularPolygon.swift -------------------------------------------------------------------------------- /Sources/Shapes/RegularPolygons/RegularPolygonPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/RegularPolygons/RegularPolygonPath.swift -------------------------------------------------------------------------------- /Sources/Shapes/RoundedRegularPolygons/RoundedRegularPolygon.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/RoundedRegularPolygons/RoundedRegularPolygon.swift -------------------------------------------------------------------------------- /Sources/Shapes/RoundedRegularPolygons/RoundedRegularPolygonPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/RoundedRegularPolygons/RoundedRegularPolygonPath.swift -------------------------------------------------------------------------------- /Sources/Shapes/RoundedStarPolygons/RoundedStarPolygon.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/RoundedStarPolygons/RoundedStarPolygon.swift -------------------------------------------------------------------------------- /Sources/Shapes/StarPolygons/StarPolygon.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/StarPolygons/StarPolygon.swift -------------------------------------------------------------------------------- /Sources/Shapes/StarPolygons/StarPolygonPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Sources/Shapes/StarPolygons/StarPolygonPath.swift -------------------------------------------------------------------------------- /Tests/ShapesTests/ShapesTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spacenation/swiftui-shapes/HEAD/Tests/ShapesTests/ShapesTests.swift --------------------------------------------------------------------------------