# strokeFillGradient

> The stroke fill gradient to use when using. Painter2D.Stroke.

## Definition

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

```csharp
public FillGradient strokeFillGradient { get; set; }
```

### Remarks

Setting a stroke fill gradient will override the currently set [\_strokeColor](/engine/6000.5/script-reference/unityengine/uielements/painter2d/strokecolor.md).
