/r8bgnd6paueoyz1j

Note

Dominik Hofer
Dominik Hofer

Day 43 #100DaysOfSwiftUI

āœ… Drawing simple shapes

šŸ”‘ takeaways:
šŸ‘‰ Use Path type to draw shapes
šŸ‘‰ Shapes are built using paths, but more flexible
šŸ‘‰ .strokeBorder() draws on the inside (use InsettableShape protocol)

Here's a struct that draws an arc (great for charts) šŸ‘‡

Follow

RSS Feeds