<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/AngularGradient/init(colors:center:startAngle:endAngle:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15AngularGradientV6colors6center10startAngle03endH0ACSayAA5ColorVG_AA9UnitPointVAA0H0VANtcfc"
  },
  "title" : "init(colors:center:startAngle:endAngle:)"
}
-->

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

Creates an angular gradient from a collection of colors.

```
@export(implementation) nonisolated init(colors: [Color], center: UnitPoint, startAngle: Angle, endAngle: Angle)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)