Skip to content

RectangleGeometry class

Describes a rectangle with optional rounded corners.

public sealed class RectangleGeometry : Geometry
name description
RectangleGeometry() Creates a rectangle geometry.
RectangleGeometry(…) Creates a rectangle geometry for the specified rectangle.
RadiusX { get; set; } Gets or sets the horizontal corner radius.
RadiusY { get; set; } Gets or sets the vertical corner radius.
Rect { get; set; } Gets or sets the rectangle.
override GetPathGeometry()