IGradientBrush Interface
Definition
A brush that draws with a gradient.
public interface IGradientBrush
Properties
| Name | Description |
|---|---|
| GradientStops | Gets the brush's gradient stops. |
| SpreadMethod | Gets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control. |
GradientStops Property
Gets the brush's gradient stops.
public System.Collections.Generic.IReadOnlyList<Avalonia.Media.IGradientStop> GradientStops { get; set; }
SpreadMethod Property
Gets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control.
public Avalonia.Media.GradientSpreadMethod SpreadMethod { get; set; }