๐นShapeStyle.foreground
SwiftUI โฉ view โฉ drawing โฉ foreground โฉ style โฉ .foreground
foreground style in the current context.
Circle()
// โญโโ โญ๏ธ โโโโฎ
.stroke(.foreground, lineWidth: 20) // default: .blue
.frame(width: 100, height: 100)

.foreground
shape styleLast updated
Was this helpful?