[]
        
(Showing Draft Content)

C1.iOS.Core.C1CornerRadius

C1CornerRadius Class

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.

Inheritance
C1CornerRadius
Namespace: C1.iOS.Core
Assembly: C1.iOS.Core.dll
Syntax
public sealed class C1CornerRadius : ValueType

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.

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(double)

Casting operator to convert a C1StyleLength into a uniform C1CornerRadius.

operator !=(C1CornerRadius, C1CornerRadius)

Compares two C1CornerRadius structures for inequality.