Represents border radius for a corner in a box.

2.0

Hierarchy (view full)

Methods

  • Casts this object to the specified type. Throws error on failure.

    Type Parameters

    • T1

      The target type of the cast.

    • T2

      The type of the object to cast.

    Parameters

    Returns T1

  • Indicates whether this instance and a specified object are equal.

    Parameters

    • obj: any

      The object to compare with the current instance.

    Returns boolean

    true if obj and this instance are the same type and represent the same value; otherwise, false.

  • Returns the hash code for this instance.

    Returns number

    A 32-bit signed integer that is the hash code for this instance.

  • Returns the fully qualified type name of this instance.

    Returns string

    The fully qualified type name.

  • Casts this object to the specified type. Returns null on failure.

    Type Parameters

    • T1

      The target type of the cast.

    • T2

      The type of the object to cast.

    Parameters

    Returns null | T1

  • Determines whether the specified object instances are considered equal.

    Parameters

    • objA: any

      The first object to compare.

    • objB: any

      The second object to compare.

    Returns boolean

    true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

Default capability

The zero border radius, that is, a corner that is not rounded at all.

2.0

  • get X(): number
  • Gets the X radius.

    Returns number

    2.0

  • get Y(): number
  • Gets the Y radius.

    Returns number

    2.0