Linear(float, params BackgroundGradientStop[])
Construct a linear gradient from an angle (radians) and a stop list.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Linear(float, BackgroundGradientStop[])
public static BackgroundGradient Linear(float angle, params BackgroundGradientStop[] stops)
Parameters
Returns
Type | Description |
|---|---|
| BackgroundGradient |