CornerRadii

class CornerRadii(val delegate: CornerRadii) extends SFXDelegate[CornerRadii]

Defines the radii of each of the four corners of a BorderStroke.

Defines the radii of each of the four corners of a BorderStroke.

Companion
object
trait SFXDelegate[CornerRadii]
class Object
trait Matchable
class Any

Value members

Constructors

def this(radius: Double)

Create a new CornerRadii with a single uniform radii value for all components of all corners.

Create a new CornerRadii with a single uniform radii value for all components of all corners.

def this(radius: Double, asPercent: Boolean)

Create a new CornerRadii with the given radii for each corner.

Create a new CornerRadii with the given radii for each corner.

def this(topLeft: Double, topRight: Double, bottomRight: Double, bottomLeft: Double, asPercent: Boolean)

Create a new CornerRadii with uniform yet independent radii for each corner.

Create a new CornerRadii with uniform yet independent radii for each corner.

def this(topLeftHorizontalRadius: Double, topLeftVerticalRadius: Double, topRightVerticalRadius: Double, topRightHorizontalRadius: Double, bottomRightHorizontalRadius: Double, bottomRightVerticalRadius: Double, bottomLeftVerticalRadius: Double, bottomLeftHorizontalRadius: Double, topLeftHorizontalRadiusAsPercent: Boolean, topLeftVerticalRadiusAsPercent: Boolean, topRightVerticalRadiusAsPercent: Boolean, topRightHorizontalRadiusAsPercent: Boolean, bottomRightHorizontalRadiusAsPercent: Boolean, bottomRightVerticalRadiusAsPercent: Boolean, bottomLeftVerticalRadiusAsPercent: Boolean, bottomLeftHorizontalRadiusAsPercent: Boolean)

Creates a new CornerRadii, allowing for specification of each component of each corner radii and whether each component should be treated as a value or percentage.

Creates a new CornerRadii, allowing for specification of each component of each corner radii and whether each component should be treated as a value or percentage.

Concrete methods

The length of the horizontal radii of the bottom-left corner.

The length of the horizontal radii of the bottom-left corner.

The length of the vertical radii of the bottom-left corner.

The length of the vertical radii of the bottom-left corner.

The length of the horizontal radii of the bottom-right corner.

The length of the horizontal radii of the bottom-right corner.

The length of the vertical radii of the bottom-right corner.

The length of the vertical radii of the bottom-right corner.

The length of the horizontal radii of the top-left corner.

The length of the horizontal radii of the top-left corner.

The length of the vertical radii of the top-left corner.

The length of the vertical radii of the top-left corner.

The length of the horizontal radii of the top-right corner.

The length of the horizontal radii of the top-right corner.

The length of the vertical radii of the top-right corner.

The length of the vertical radii of the top-right corner.

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: CornerRadii