# LinearGradientBrushProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / LinearGradientBrushProperties

# Type Alias: LinearGradientBrushProperties

> **LinearGradientBrushProperties** = `object`

Provides settings for creating a linear gradient brush.

## Properties

### endColor

> **endColor**: [`Color`](Color)

The ending gradient color.

***

### endPoint?

> `optional` **endPoint**: [`Point`](Point)

The end point of the current linear gradient brush. (0, 0) is the top-left corner, (1, 1) is the bottom-right corner.
The default is (1, 0.5).

***

### gradientStops?

> `optional` **gradientStops**: [`GradientStop`](GradientStop)[] \| `null`

The array of gradient stops.

***

### startColor

> **startColor**: [`Color`](Color)

The starting gradient color.

***

### startPoint?

> `optional` **startPoint**: [`Point`](Point)

The start point of the current linear gradient brush. (0, 0) is the top-left corner, (1, 1) is the bottom-right corner.
The default is (0, 0.5).
