Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 577 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 577 Bytes

Gradient

Linear

LinearGradient(gradient: Gradient(colors: [.red, .blue]), startPoint: .top, endPoint: .bottom)    }

Radial

RadialGradient(gradient: Gradient(colors: [.blue, .black]), center: .center, startRadius: 20, endRadius: 200)

Angular

AngularGradient(gradient: Gradient(colors: [.red, .yellow, .green, .blue, .purple, .red]), center: .center)

Links that help