Class RectangleGeometry
Describes a two-dimensional rectangular geometry.
Inherited Members
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class RectangleGeometry : Geometry, IDependencyObject
Constructors
| Improve this Doc View SourceRectangleGeometry()
Initializes a new instance of the RectangleGeometry class, and creates a rectangle with zero area.
Declaration
public RectangleGeometry()
Fields
| Improve this Doc View SourceRadiusXProperty
Identifies the RadiusX dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty RadiusXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
RadiusYProperty
Identifies the RadiusY dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty RadiusYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
RectProperty
Identifies the Rect dependency property.
Declaration
public static readonly DependencyProperty RectProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceRadiusX
Gets or sets the x-radius of the ellipse that is used to round the corners of the rectangle.
Declaration
[NotImplemented]
public double RadiusX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The x-radius of the ellipse used to round the corners of the rectangle geometry. The default is 0. |
RadiusY
Gets or sets the y-radius of the ellipse that is used to round the corners of the rectangle.
Declaration
[NotImplemented]
public double RadiusY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The y-radius of the ellipse used to round the corners of the rectangle geometry. The default is 0. |
Rect
Gets or sets the dimensions of the rectangle.
Declaration
public Rect Rect { get; set; }
Property Value
Type | Description |
---|---|
Rect | The Rect structure that describes the position and size of the rectangle. The default is null. |