BackgroundFill

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

The fill and associated properties that direct how to fill the background of a Region.

Attributes

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

Members list

Value members

Constructors

def this(fill: Paint, radii: CornerRadii, insets: Insets)

Creates a new BackgroundFill with the specified fill, radii, and insets.

Creates a new BackgroundFill with the specified fill, radii, and insets.

Attributes

Concrete methods

def fill: Paint

The Paint to use for filling the background of the Region.

The Paint to use for filling the background of the Region.

Attributes

def insets: Insets

The Insets to use for this fill.

The Insets to use for this fill.

Attributes

The Radii to use for representing the four radii of the BackgroundFill.

The Radii to use for representing the four radii of the BackgroundFill.

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes