RoundedRectangle(cornerRadius: 25.0)
.fill(
//Angular gradient
AngularGradient(gradient: Gradient(colors: [Color.red, Color.green, Color.yellow]), center: .center, angle: .degrees(45))
)
.frame(width: 300, height: 200)
SHORT QUESTIONS
How i will add Angular Gradient in SwiftUI?
RoundedRectangle(cornerRadius: 25.0) .fill( //Angular gradient AngularGradient(gradient: Gradient(colors: [Color.red, Color.green, Color.yellow]), center: .center, angle: .degrees...
0 Comments
Leave a Comment