CornerRadius Structure

Represents the radii of a rectangle's corners.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public readonly struct CornerRadius : IEquatable<CornerRadius>
Inheritance
Object    ValueType    CornerRadius
Implements
IEquatableCornerRadius

Properties

BottomLeft Radius of the bottom left corner.
BottomRight Radius of the bottom right corner.
IsUniform Gets a value indicating whether all corner radii are equal.
TopLeft Radius of the top left corner.
TopRight Radius of the top right corner.

Methods

Equals(CornerRadius) Returns a boolean indicating whether the corner radius is equal to the other given corner radius.
Equals(Object) Returns a boolean indicating whether the given Object is equal to this corner radius instance.
(Overrides ValueTypeEquals(Object))
GetHashCode
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Parse(String) 
ToString
(Overrides ValueTypeToString)

Operators

See Also