Show / Hide Table of Contents

Class RectangleGeometry

Describes a two-dimensional rectangular geometry.

Inheritance
System.Object
DependencyObject
Geometry
RectangleGeometry
Inherited Members
Geometry.Empty
Geometry.TransformProperty
Geometry.Transform
Geometry.StandardFlatteningTolerance
Geometry.Bounds
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
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, IDependencyObject

Constructors

| Improve this Doc View Source

RectangleGeometry()

Initializes a new instance of the RectangleGeometry class, and creates a rectangle with zero area.

Declaration
public RectangleGeometry()

Fields

| Improve this Doc View Source

RadiusXProperty

Identifies the RadiusX dependency property.

Declaration
[NotImplemented]
public static readonly DependencyProperty RadiusXProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RadiusYProperty

Identifies the RadiusY dependency property.

Declaration
[NotImplemented]
public static readonly DependencyProperty RadiusYProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RectProperty

Identifies the Rect dependency property.

Declaration
public static readonly DependencyProperty RectProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

RadiusX

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source