Struct CornerRadius

Namespace
Forma
Assembly
Forma.dll
public readonly struct CornerRadius : IEquatable<CornerRadius>
Implements
Inherited Members

Constructors

CornerRadius(float)

public CornerRadius(float uniformRadius)

Parameters

uniformRadius float

CornerRadius(float, float, float, float)

public CornerRadius(float topLeft, float topRight, float bottomRight, float bottomLeft)

Parameters

topLeft float
topRight float
bottomRight float
bottomLeft float

Properties

BottomLeft

public float BottomLeft { get; }

Property Value

float

BottomRight

public float BottomRight { get; }

Property Value

float

TopLeft

public float TopLeft { get; }

Property Value

float

TopRight

public float TopRight { get; }

Property Value

float

Methods

Equals(CornerRadius)

public bool Equals(CornerRadius other)

Parameters

other CornerRadius

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(CornerRadius, CornerRadius)

public static bool operator ==(CornerRadius left, CornerRadius right)

Parameters

left CornerRadius
right CornerRadius

Returns

bool

operator !=(CornerRadius, CornerRadius)

public static bool operator !=(CornerRadius left, CornerRadius right)

Parameters

left CornerRadius
right CornerRadius

Returns

bool