---
title: "init(stops:center:startAngle:endAngle:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/angulargradient/init(stops:center:startangle:endangle:)"
---

# init(stops:center:startAngle:endAngle:)

Creates an angular gradient from a collection of color stops.

## Declaration

```swift
nonisolated init(stops: [Gradient.Stop], center: UnitPoint, startAngle: Angle, endAngle: Angle)
```

## See Also

### Creating a partial rotation angular gradient

- [init(gradient:center:startAngle:endAngle:)](swiftui/angulargradient/init(gradient:center:startangle:endangle:).md)
- [init(colors:center:startAngle:endAngle:)](swiftui/angulargradient/init(colors:center:startangle:endangle:).md)
