BackgroundSize

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

Attributes

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

Members list

Value members

Constructors

def this(width: Double, height: Double, widthAsPercentage: Boolean, heightAsPercentage: Boolean, contain: Boolean, cover: Boolean)

Create a new BackgroundSize.

Create a new BackgroundSize.

Attributes

Concrete methods

def height: Double

The width of the area within the Region where the associated BackgroundImage should render.

The width of the area within the Region where the associated BackgroundImage should render.

Attributes

def width: Double

The height of the area within the Region where the associated BackgroundImage should render.

The height of the area within the Region where the associated BackgroundImage should render.

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes