Skip to main content

IRadialGradientBrush Interface

Definition

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

Paints an area with a radial gradient.

public interface IRadialGradientBrush

Implements: IBrush, IGradientBrush

Properties

NameDescription
CenterGets the start point for the gradient.
GradientOriginGets the location of the two-dimensional focal point that defines the beginning of the gradient.
RadiusXGets the horizontal radius of the outermost circle of the radial gradient.
RadiusYGets the vertical radius of the outermost circle of the radial gradient.

Center Property

Gets the start point for the gradient.

public Avalonia.RelativePoint Center { get; set; }

GradientOrigin Property

Gets the location of the two-dimensional focal point that defines the beginning of the gradient.

public Avalonia.RelativePoint GradientOrigin { get; set; }

RadiusX Property

Gets the horizontal radius of the outermost circle of the radial gradient.

public Avalonia.RelativeScalar RadiusX { get; set; }

RadiusY Property

Gets the vertical radius of the outermost circle of the radial gradient.

public Avalonia.RelativeScalar RadiusY { get; set; }