I want to create custom paths with a gradient along with it, something like on the image:
How do I do that with SwiftUI?
UPD.
I know about linear, angular, radial gradients described in apple documentation. Now I use a combination of linear gradients: