'How can I use strokeBorder for trimed Shapes in SwiftUI?
I have difficulty to use strokeBorder after trim in SwiftUI, how can do this?
Circle()
.trim(from: 0, to: 0.5)
.strokeBorder(Color.red, style: StrokeStyle(lineWidth: 50.0, lineCap: .round, lineJoin: .round))
Error:
Value of type 'some Shape' has no member 'strokeBorder'
There is at least 2 ways to get the result like strokeBorder gives. But they are not using strokeBorder, I want solve the issue while using strokeBorder.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
