🔹ShapeStyle.foreground

SwiftUIviewdrawingforegroundstyle.foreground

Circle()
    //      ╭── ⭐️ ───╮
    .stroke(.foreground, lineWidth: 20)    // default: .blue
    .frame(width: 100, height: 100)
stroke with .foreground shape style

Last updated

Was this helpful?