Inheritance
System.Object
BorderRadius
public class BorderRadius : IEquatable<BorderRadius>
Fields
Declaration
public readonly Radius bottomLeft
Field Value
Declaration
public readonly Radius bottomRight
Field Value
Declaration
public readonly Radius topLeft
Field Value
Declaration
public readonly Radius topRight
Field Value
Declaration
public static readonly BorderRadius zero
Field Value
Methods
Declaration
public static BorderRadius all(float radius)
Parameters
Type |
Name |
Description |
System.Single |
radius |
|
Returns
Declaration
public static BorderRadius all(Radius radius)
Parameters
Type |
Name |
Description |
Radius |
radius |
|
Returns
Declaration
public static BorderRadius circular(float radius)
Parameters
Type |
Name |
Description |
System.Single |
radius |
|
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(BorderRadius other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public static BorderRadius horizontal(float? left = default(float? ), float? right = default(float? ))
Parameters
Type |
Name |
Description |
System.Nullable<System.Single> |
left |
|
System.Nullable<System.Single> |
right |
|
Returns
Declaration
public static BorderRadius horizontal(Radius left = null, Radius right = null)
Parameters
Returns
Declaration
public static BorderRadius lerp(BorderRadius a, BorderRadius b, float t)
Parameters
Returns
Declaration
public static BorderRadius only(float? topLeft = default(float? ), float? topRight = default(float? ), float? bottomRight = default(float? ), float? bottomLeft = default(float? ))
Parameters
Type |
Name |
Description |
System.Nullable<System.Single> |
topLeft |
|
System.Nullable<System.Single> |
topRight |
|
System.Nullable<System.Single> |
bottomRight |
|
System.Nullable<System.Single> |
bottomLeft |
|
Returns
Declaration
public static BorderRadius only(Radius topLeft = null, Radius topRight = null, Radius bottomRight = null, Radius bottomLeft = null)
Parameters
Returns
Declaration
public RRect toRRect(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Declaration
public static BorderRadius vertical(float? top = default(float? ), float? bottom = default(float? ))
Parameters
Type |
Name |
Description |
System.Nullable<System.Single> |
top |
|
System.Nullable<System.Single> |
bottom |
|
Returns
Declaration
public static BorderRadius vertical(Radius top = null, Radius bottom = null)
Parameters
Returns
Operators
Declaration
public static BorderRadius operator +(BorderRadius it, BorderRadius other)
Parameters
Returns
Declaration
public static BorderRadius operator /(BorderRadius it, float other)
Parameters
Returns
Declaration
public static bool operator ==(BorderRadius a, BorderRadius b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(BorderRadius a, BorderRadius b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static BorderRadius operator %(BorderRadius it, float other)
Parameters
Returns
Declaration
public static BorderRadius operator *(BorderRadius it, float other)
Parameters
Returns
Declaration
public static BorderRadius operator -(BorderRadius it, BorderRadius other)
Parameters
Returns
Declaration
public static BorderRadius operator -(BorderRadius it)
Parameters
Returns