๐Ÿ”ฐshapes

SwiftUI โŸฉ shapes

Circles, rectangles, and custom paths etc. that you can trace and fill with a color, gradient, or other pattern.

Circle()
    .fill(Color.red)                // Shape's method
    .frame(width: 50, height: 50)   // View's method (view modifier)

Last updated