Skip to main content

Radius Property

Obsolete.

Use RadiusX/RadiusY, note that those properties use relative values, so Radius=0.55 would become RadiusX=55% RadiusY=55%. Radius property is always relative even if the rest of the brush uses absolute values.

Gets or sets the horizontal and vertical radius of the outermost circle of the radial gradient.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[ObsoleteAttribute("Use RadiusX/RadiusY, note that those properties use _relative_ values, so Radius=0.55 would become RadiusX=55% RadiusY=55%. Radius property is always relative even if the rest of the brush uses absolute values.")]
public double Radius { get; set; }

Property Value

Double

Implements

IRadialGradientBrush.Radius

See Also

Reference

RadialGradientBrush Class
Avalonia.Media Namespace