# `GSRadialGradient`

*Class*

A radial (circular/angular) gradient.

## Declaration

```swift
class GSRadialGradient
```

```objc
@interface GSRadialGradient : GSGradient
```

```python
class GSRadialGradient(GSGradient)
```

## Topics

### Instance Properties

- [`GSRadialGradient.angle`](/Core/GlyphsCore/GSRadialGradient/angle) — The rotation angle (in degrees counter-clockwise from the x-axis).
- [`GSRadialGradient.endCenter`](/Core/GlyphsCore/GSRadialGradient/endCenter) — The center of the end circle, relative to the drawing bounds.
- [`GSRadialGradient.endRadius`](/Core/GlyphsCore/GSRadialGradient/endRadius) — The radius of the end circle, relative to the drawing bounds.
- [`GSRadialGradient.startCenter`](/Core/GlyphsCore/GSRadialGradient/startCenter) — The center of the start circle, relative to the drawing bounds.
- [`GSRadialGradient.startRadius`](/Core/GlyphsCore/GSRadialGradient/startRadius) — The radius of the start circle, relative to the drawing bounds.

### Instance Methods

- [`GSRadialGradient initWithCenter:radius:angle:colorLine:extendMode:`](/Core/GlyphsCore/GSRadialGradient/initWithCenter:radius:angle:colorLine:extendMode:) — Creates a simple radial gradient with the given center and radius.
- [`GSRadialGradient initWithStartCenter:startRadius:endCenter:endRadius:angle:colorLine:extendMode:`](/Core/GlyphsCore/GSRadialGradient/initWithStartCenter:startRadius:endCenter:endRadius:angle:colorLine:extendMode:) — Creates a radial gradient with the given start and end circle.
- [`GSRadialGradient upgradeFromLegacyRepresentation`](/Core/GlyphsCore/GSRadialGradient/upgradeFromLegacyRepresentation) — The behavior of radial gradients has changed from Glyphs 3 to Glyphs 4.

## Relationships

### Inherits From

- [`GSGradient`](/Core/GlyphsCore/GSGradient)

