# `GSLinearGradient`

*Class*

## Declaration

```swift
class GSLinearGradient
```

```objc
@interface GSLinearGradient : GSGradient
```

```python
class GSLinearGradient(GSGradient)
```

## Topics

### Instance Properties

- [`GSLinearGradient.end`](/Core/GlyphsCore/GSLinearGradient/end) — The end point of the gradient.
- [`GSLinearGradient.start`](/Core/GlyphsCore/GSLinearGradient/start) — The start point of the gradient.

### Instance Methods

- [`GSLinearGradient initWithStart:end:colorLine:extendMode:`](/Core/GlyphsCore/GSLinearGradient/initWithStart:end:colorLine:extendMode:) — Creates a linear gradient with the given start and end points.

## Relationships

### Inherits From

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

