Skip to main content

RectangleGeometry Properties

Properties

BoundsGets the geometry's bounding rectangle.
(Inherited from Geometry)
ContourLengthGets the geometry's total length as if all its contours are placed in a straight line.
(Inherited from Geometry)
InheritanceParentGets or sets the parent object that inherited AvaloniaProperty values are inherited from.
(Inherited from AvaloniaObject)
Item(AvaloniaProperty)Gets or sets the value of a AvaloniaProperty.
(Inherited from AvaloniaObject)
Item(IndexerDescriptor)Gets or sets a binding for a AvaloniaProperty.
(Inherited from AvaloniaObject)
RadiusXGets or sets the radius on the X-axis used to round the corners of the rectangle. Corner radii are represented by an ellipse so this is the X-axis width of the ellipse.
RadiusYGets or sets the radius on the Y-axis used to round the corners of the rectangle. Corner radii are represented by an ellipse so this is the Y-axis height of the ellipse.
RectGets or sets the bounds of the rectangle.
TransformGets or sets a transform to apply to the geometry.
(Inherited from Geometry)

See Also

Reference

RectangleGeometry Class
Avalonia.Media Namespace