Background

scalafx.scene.layout.Background
See theBackground companion class
object Background

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Background.type

Members list

Value members

Concrete methods

def classCssMetaData: Seq[CssMetaData[_ <: Styleable, _]]
def fill(f: Paint): Background

A convenience factory method for creating a Background with a single Paint.

A convenience factory method for creating a Background with a single Paint.

This call is equivalent to new Background(new BackgroundFill(fill, null, null)).

Value parameters

f

the fill of the background. If null, Color.Transparent will be used.

Attributes

Returns

a new background of the given fill

Since

18.0.0

Concrete fields

An empty Background, useful to use instead of null.

An empty Background, useful to use instead of null.

Attributes

Deprecated fields

Attributes

Deprecated
true

Implicits

Implicits

implicit def sfxBackground2jfx(v: Background): Background