IGradientBrush Interface

A brush that draws with a gradient.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface IGradientBrush : IBrush
Implements
IBrush

Properties

GradientStops Gets the brush's gradient stops.
Opacity Gets the opacity of the brush.
(Inherited from IBrush)
SpreadMethod Gets the brush's spread method that defines how to draw a gradient that doesn't fill the bounds of the destination control.
Transform Gets the transform of the brush.
(Inherited from IBrush)
TransformOrigin Gets the origin of the brushes Transform
(Inherited from IBrush)

Extension Methods

ToImmutable Converts a brush to an immutable brush.
(Defined by BrushExtensions)

See Also