๐Ÿ”นShapeStyle.foreground

SwiftUI โŸฉ view โŸฉ drawing โŸฉ foreground โŸฉ style โŸฉ .foreground

Circle()
    //      โ•ญโ”€โ”€ โญ๏ธ โ”€โ”€โ”€โ•ฎ
    .stroke(.foreground, lineWidth: 20)    // default: .blue
    .frame(width: 100, height: 100)
stroke with .foreground shape style

Last updated

Was this helpful?