BorderWidths

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

Defines widths for four components (top, right, bottom, and left).

Defines widths for four components (top, right, bottom, and left).

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

Value members

Constructors

def this(width: Double)

Creates a new BorderWidths using the given width for all four borders, and treating this width as a literal value, and not a percentage.

Creates a new BorderWidths using the given width for all four borders, and treating this width as a literal value, and not a percentage.

def this(top: Double, right: Double, bottom: Double, left: Double)

Creates a new BorderWidths with the specified widths for top, right, bottom, and left.

Creates a new BorderWidths with the specified widths for top, right, bottom, and left.

def this(top: Double, right: Double, bottom: Double, left: Double, topAsPercentage: Boolean, rightAsPercentage: Boolean, bottomAsPercentage: Boolean, leftAsPercentage: Boolean)

Creates a new BorderWidths.

Creates a new BorderWidths.

Concrete methods

def bottom: Double

The non-negative value (with the exception of AUTO) indicating the border thickness on the bottom of the border.

The non-negative value (with the exception of AUTO) indicating the border thickness on the bottom of the border.

def left: Double

The non-negative value (with the exception of AUTO) indicating the border thickness on the left of the border.

The non-negative value (with the exception of AUTO) indicating the border thickness on the left of the border.

def right: Double

The non-negative value (with the exception of AUTO) indicating the border thickness on the right of the border.

The non-negative value (with the exception of AUTO) indicating the border thickness on the right of the border.

def top: Double

A non-negative value (with the exception of AUTO) indicating the border thickness on the top of the border.

A non-negative value (with the exception of AUTO) indicating the border thickness on the top of the border.

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: BorderWidths