Struct CornerRadius
- Namespace
- Forma
- Assembly
- Forma.dll
public readonly struct CornerRadius : IEquatable<CornerRadius>
- Implements
-
- Inherited Members
-
Constructors
public CornerRadius(float uniformRadius)
Parameters
uniformRadius float
public CornerRadius(float topLeft, float topRight, float bottomRight, float bottomLeft)
Parameters
topLeft float
topRight float
bottomRight float
bottomLeft float
Properties
public float BottomLeft { get; }
Property Value
- float
public float BottomRight { get; }
Property Value
- float
public float TopLeft { get; }
Property Value
- float
public float TopRight { get; }
Property Value
- float
Methods
public bool Equals(CornerRadius other)
Parameters
other CornerRadius
Returns
- bool
public override bool Equals(object obj)
Parameters
obj object
Returns
- bool
public override int GetHashCode()
Returns
- int
Operators
public static bool operator ==(CornerRadius left, CornerRadius right)
Parameters
left CornerRadius
right CornerRadius
Returns
- bool
public static bool operator !=(CornerRadius left, CornerRadius right)
Parameters
left CornerRadius
right CornerRadius
Returns
- bool