CornerRadii

scalafx.scene.layout.CornerRadii
See theCornerRadii companion object
class CornerRadii(val delegate: CornerRadii) extends SFXDelegate[CornerRadii]

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

Attributes

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

Members list

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

Concrete methods

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

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

Attributes

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

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

Attributes

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

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

Attributes

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

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

Attributes

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

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

Attributes

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

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

Attributes

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

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

Attributes

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

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

Attributes

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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: CornerRadii

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes