Class RectangleGeometry
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class RectangleGeometry : Geometry
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
Rect - Rect. Default value is Rect.Empty.
Declaration
public Rect Rect { get; set; }
Property Value
Type | Description |
---|---|
Rect |
Methods
| Improve this Doc View SourceDefineInCanvas(Path, Object, Double, Double, Double, Double, Double, Double, Size)
Declaration
protected override void DefineInCanvas(Path path, object canvasDomElement, double horizontalMultiplicator, double verticalMultiplicator, double xOffsetToApplyBeforeMultiplication, double yOffsetToApplyBeforeMultiplication, double xOffsetToApplyAfterMultiplication, double yOffsetToApplyAfterMultiplication, Size shapeActualSize)
Parameters
Type | Name | Description |
---|---|---|
Path | path | |
System.Object | canvasDomElement | |
System.Double | horizontalMultiplicator | |
System.Double | verticalMultiplicator | |
System.Double | xOffsetToApplyBeforeMultiplication | |
System.Double | yOffsetToApplyBeforeMultiplication | |
System.Double | xOffsetToApplyAfterMultiplication | |
System.Double | yOffsetToApplyAfterMultiplication | |
Size | shapeActualSize |
Overrides
| Improve this Doc View SourceGetMinMaxXY(ref Double, ref Double, ref Double, ref Double)
Declaration
protected override void GetMinMaxXY(ref double minX, ref double maxX, ref double minY, ref double maxY)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minX | |
System.Double | maxX | |
System.Double | minY | |
System.Double | maxY |