Skip to main content

RoundedRect Structure

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public struct RoundedRect
View Source
InheritanceObject → ValueType → RoundedRect

Constructors​

RoundedRect(Rect)Initializes a new instance of the RoundedRect class
RoundedRect(Rect, Vector)Initializes a new instance of the RoundedRect class
RoundedRect(Rect, Double)Initializes a new instance of the RoundedRect class
RoundedRect(Rect, CornerRadius)Initializes a new instance of the RoundedRect class
RoundedRect(Rect, Double, Double)Initializes a new instance of the RoundedRect class
RoundedRect(Rect, Vector, Vector, Vector, Vector)Initializes a new instance of the RoundedRect class
RoundedRect(Rect, Double, Double, Double, Double)Initializes a new instance of the RoundedRect class

Properties​

IsRounded 
IsUniform 
RadiiBottomLeft 
RadiiBottomRight 
RadiiTopLeft 
RadiiTopRight 
Rect 

Methods​

ContainsExclusive(Point)Determines whether a point is in the bounds of the rounded rectangle, exclusive of the rounded rectangle's bottom/right edge.
Deflate(Double, Double) 
Equals(Object)
(Overrides ValueType.Equals(Object))
Equals(RoundedRect) 
GetHashCode()
(Overrides ValueType.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
Inflate(Double, Double) 
ToString()Returns the fully qualified type name of this instance.
(Inherited from ValueType)

Operators​

Equality(RoundedRect, RoundedRect) 
Implicit(Rect to RoundedRect) 
Inequality(RoundedRect, RoundedRect) 

Extension Methods​

ToSKRoundRect()
(Defined by SkiaSharpExtensions)

See Also​

Reference​

Avalonia Namespace