ILinearGradientBrush Interface

A brush that draws with a linear gradient.

Definition

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

Properties

EndPoint Gets or sets the end point for the gradient.
GradientStops Gets the brush's gradient stops.
(Inherited from IGradientBrush)
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.
(Inherited from IGradientBrush)
StartPoint Gets or sets the start point for the gradient.
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