Skip to main content

ILinearGradientBrush Interface

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

A brush that draws with a linear gradient.

public interface ILinearGradientBrush

Implements: IBrush, IGradientBrush

Properties

NameDescription
EndPointGets or sets the end point for the gradient.
StartPointGets or sets the start point for the gradient.

EndPoint Property

Gets or sets the end point for the gradient.

public Avalonia.RelativePoint EndPoint { get; set; }

StartPoint Property

Gets or sets the start point for the gradient.

public Avalonia.RelativePoint StartPoint { get; set; }