Skip to main content

RectangleGeometry(Rect, Double, Double) Constructor

Initializes a new instance of the RectangleGeometry class.

Definition

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

public RectangleGeometry(
Rect rect,
double radiusX,
double radiusY
)

Parameters

  Rect
The rectangle bounds.
  Double
The radius on the X-axis used to round the corners of the rectangle.
  Double
The radius on the Y-axis used to round the corners of the rectangle.

See Also

Reference

RectangleGeometry Class
RectangleGeometry Overload
Avalonia.Media Namespace