BackgroundPosition

class BackgroundPosition(val delegate: BackgroundPosition) extends SFXDelegate[BackgroundPosition]

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

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

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

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.

Concrete methods

def horizontalPosition: Double

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.

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

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

def verticalPosition: Double

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.

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

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

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 Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: BackgroundPosition