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.Controls.Shapes
Assembly: Avalonia.Controls (in Avalonia.Controls.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

Rectangle Class
Avalonia.Controls.Shapes Namespace