# `GSRadialGradient initWithCenter:radius:angle:colorLine:extendMode:`

*Initializer*

Creates a simple radial gradient with the given center and radius.

## Declaration

```swift
init(center: NSPoint, radius: CGFloat, angle: CGFloat, colorLine: GSColorLine, extendMode: GSGradientExtendMode)
```

```objc
- (instancetype) initWithCenter:(NSPoint) center radius:(CGFloat) radius angle:(CGFloat) angle colorLine:(GSColorLine *) colorLine extendMode:(GSGradientExtendMode) extendMode;
```

```python
initWithCenter_radius_angle_colorLine_extendMode_(center: NSPoint, radius: float, angle: float, colorLine: GSColorLine, extendMode: GSGradientExtendMode) -> GSRadialGradient
```

## Discussion

Both circles share the same center and the start circle has a radius of 0.

