[]
        
(Showing Draft Content)

C1.Blazor.Core.C1CornerRadius

C1CornerRadius Struct

Describes the thickness of a frame around a rectangle. Four System.Double values describe the C1Thickness.Left, C1Thickness.Top, C1Thickness.Right, and C1Thickness.Bottom sides of the rectangle, respectively.

Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public struct C1CornerRadius

Constructors

Name Description
C1CornerRadius(C1CornerValue)

Initializes a C1CornerRadius structure that has the specified uniform corners.

C1CornerRadius(C1CornerValue, C1CornerValue, C1CornerValue, C1CornerValue)

Initializes a C1CornerRadius structure that has specific radius (supplied as a System.Double) applied to each corner of the rectangle.

Properties

Name Description
BottomLeft

Gets or sets the radius, in pixels, of the bottom-left corner of the bounding rectangle.

BottomRight

Gets or sets the radius, in pixels, of the bottom-right corner of the bounding rectangle.

IsAbsolute

Gets whether all the corners are represented with absolute lengths.

IsCircle

Gets whether all the corners are a circle radius (They can be different).

IsUniform

Gets whether the radius is uniform in all corners and the same.

IsZero

Gets whether the radius is zero in all edges.

TopLeft

Gets or sets the radius, in pixels, of the top-left corner of the bounding rectangle.

TopRight

Gets or sets the radius, in pixels, of the top-right corner of the bounding rectangle.

Methods

Name Description
Equals(object)

Determines whether the specified object, is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

Operators

Name Description
operator ==(C1CornerRadius, C1CornerRadius)

Compares two C1CornerRadius structures for equality.

implicit operator C1CornerRadius(C1CornerValue)

Casting operator to convert a C1CornerValue into a uniform C1CornerRadius.

implicit operator C1CornerRadius(C1StyleLength)

Casting operator to convert a C1StyleLength into a uniform C1CornerRadius.

implicit operator C1CornerRadius(double)

Casting operator to convert a double into a uniform C1CornerRadius.

implicit operator C1CornerRadius(string)

Casting operator to convert a string into a C1CornerRadius.

implicit operator C1CornerRadius((C1CornerValue, C1CornerValue, C1CornerValue, C1CornerValue))

Casting operator to convert a 4-values tuple of C1CornerValue into a C1CornerRadius.

operator !=(C1CornerRadius, C1CornerRadius)

Compares two C1CornerRadius structures for inequality.