strokeGradient
The stroke gradient to use when using Painter2D.Stroke.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Gradient strokeGradient { get; set; }
Remarks
Setting a stroke gradient will override the currently set _strokeColor. Setting a null stroke gradient will remove it and fall back on the currently set _strokeColor.