BackgroundSize

class BackgroundSize(val delegate: BackgroundSize) extends SFXDelegate[BackgroundSize]
Authors

Jarek Sacha

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

Value members

Constructors

def this(width: Double, height: Double, widthAsPercentage: Boolean, heightAsPercentage: Boolean, contain: Boolean, cover: Boolean)

Create a new BackgroundSize.

Create a new BackgroundSize.

Concrete methods

def height: Double

The width of the area within the Region where the associated BackgroundImage should render.

The width of the area within the Region where the associated BackgroundImage should render.

def width: Double

The height of the area within the Region where the associated BackgroundImage should render.

The height of the area within the Region where the associated BackgroundImage should render.

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