> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/gradienttype.md).

# GradientType

## Overview

GradientType is an Enum that specifies the shape of a gradient.

This is used in the Type property of UIGradient, and determines the shape in which the gradient spreads.

## Items

| Name    | Value | Description                                                                                                                               |
| ------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Linear  | 0     | The color changes in one direction. The direction is specified with the Rotation of UIGradient.                                           |
| Radial  | 1     | The color changes as it spreads outward from the center. Because the shape is symmetrical, the Rotation value does not affect the result. |
| Conical | 2     | The color changes as it sweeps clockwise around the center. The Rotation of UIGradient becomes the start angle.                           |
