Table of Contents

Class ConicGradientBrush

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

Paints an area with a swept circular gradient.

public sealed class ConicGradientBrush : GradientBrush, INotifyPropertyChanged, IConicGradientBrush, IGradientBrush, IBrush
Inheritance
ConicGradientBrush
Implements
Inherited Members
Extension Methods

Constructors

ConicGradientBrush()

public ConicGradientBrush()

Fields

AngleProperty

Defines the Angle property.

public static readonly StyledProperty<double> AngleProperty

Field Value

StyledProperty<double>

CenterProperty

Defines the Center property.

public static readonly StyledProperty<RelativePoint> CenterProperty

Field Value

StyledProperty<RelativePoint>

Properties

Angle

Gets or sets the angle of the start and end of the sweep, measured from above the center point.

public double Angle { get; set; }

Property Value

double

Center

Gets or sets the center point of the gradient.

public RelativePoint Center { get; set; }

Property Value

RelativePoint

Methods

ToImmutable()

Creates an immutable clone of the brush.

public override IImmutableBrush ToImmutable()

Returns

IImmutableBrush

The immutable clone.