Skip to main content

RadiusX Property

Gets or sets the radius on the X-axis used to round the corners of the rectangle. Corner radii are represented by an ellipse so this is the X-axis width of the ellipse.

Definition

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

public double RadiusX { get; set; }

Property Value

Double

Remarks

In order for this property to be used, Rect must not be set (equal to the default Rect value).

See Also

Reference

RectangleGeometry Class
Avalonia.Media Namespace