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?
            Asked
            
        
        
            Active
            
        
            Viewed 73 times
        
    -1
            
            
        - 
                    For setting different radii for each corner, see [this solution](https://stackoverflow.com/a/58606176/14063245) – Stoic Dec 12 '22 at 22:55
1 Answers
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
- 
                    This ought to work but the corner radius interferes with the border. – Dan Selig Dec 13 '22 at 18:57
- 
                    
