BackgroundImage

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

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

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

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

Value members

Constructors

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

Creates a new BackgroundImage.

Creates a new BackgroundImage.

Concrete methods

def image: Image

The image to be used.

The image to be used.

The position of this BackgroundImage relative to the Region.

The position of this BackgroundImage relative to the Region.

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.

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.

The size of this image relative to the Region.

The size of this image relative to the Region.

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