-1

I need to put a .cornerRadius with different radii for each corner around a view with padding and I need to put an outline around that border. Any ideas?

Dan Selig
  • 234
  • 2
  • 11
  • For setting different radii for each corner, see [this solution](https://stackoverflow.com/a/58606176/14063245) – Stoic Dec 12 '22 at 22:55

1 Answers1

0
Text("one possibility")
   .font(.title)
   .multilineTextAlignment(.center)
   .padding(10)
   .border(Color.black, width: 2)
   .cornerRadius(10, 20, 30, 40)
Bjorn Morrhaye
  • 687
  • 9
  • 30