Table of Contents

Interface IGradientBrush

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

A brush that draws with a gradient.

[NotClientImplementable]
public interface IGradientBrush : IBrush
Inherited Members
Extension Methods

Properties

GradientStops

Gets the brush's gradient stops.

IReadOnlyList<IGradientStop> GradientStops { get; }

Property Value

IReadOnlyList<IGradientStop>

SpreadMethod

Gets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control.

GradientSpreadMethod SpreadMethod { get; }

Property Value

GradientSpreadMethod