BackgroundImage

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

Defines properties describing how to render an image as the background to some Region.

Attributes

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

Members list

Value members

Constructors

def this(image: Image, repeatX: BackgroundRepeat, repeatY: BackgroundRepeat, position: BackgroundPosition, size: BackgroundSize)

Creates a new BackgroundImage.

Creates a new BackgroundImage.

Attributes

Concrete methods

def image: Image

The image to be used.

The image to be used.

Attributes

The position of this BackgroundImage relative to the Region.

The position of this BackgroundImage relative to the Region.

Attributes

Indicates in what manner (if at all) the background image is to be repeated along the x-axis of the region.

Indicates in what manner (if at all) the background image is to be repeated along the x-axis of the region.

Attributes

Indicates in what manner (if at all) the background image is to be repeated along the y-axis of the region.

Indicates in what manner (if at all) the background image is to be repeated along the y-axis of the region.

Attributes

The size of this image relative to the Region.

The size of this image relative to the Region.

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes