BackgroundPosition

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

Represents the position of a BackgroundImage within the Region's drawing area.

Wrapper for http://docs.oracle.com/javafx/8/api/javafx/scene/layout/BackgroundPosition

Attributes

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

Members list

Value members

Constructors

def this(horizontalSide: Side, horizontalPosition: Double, horizontalAsPercentage: Boolean, verticalSide: Side, verticalPosition: Double, verticalAsPercentage: Boolean)

Creates a new BackgroundPosition.

Creates a new BackgroundPosition.

Attributes

Concrete methods

The value indicating the position of the BackgroundImage relative to the Region along the side indicated by the horizontalSide property.

The value indicating the position of the BackgroundImage relative to the Region along the side indicated by the horizontalSide property.

Attributes

The side along the horizontal axis to which the BackgroundImage is anchored.

The side along the horizontal axis to which the BackgroundImage is anchored.

Attributes

The value indicating the position of the BackgroundImage relative to the Region along the side indicated by the verticalSide property.

The value indicating the position of the BackgroundImage relative to the Region along the side indicated by the verticalSide property.

Attributes

The side along the vertical axis to which the BackgroundImage is anchored.

The side along the vertical axis to which the BackgroundImage is anchored.

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes