# gradientType

> The type of gradient to use (linear or radial).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public GradientType gradientType { readonly get; set; }
```
