Scale

scalafx.scene.transform.Scale
See theScale companion object
class Scale(val delegate: Scale) extends Transform, PositionDelegate[Scale], SFXDelegate[Scale]

Attributes

Companion
object
Graph
Supertypes
trait PositionDelegate[Scale]
class Transform
trait SFXDelegate[Scale]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(x: Double, y: Double)

Creates a two-dimensional Scale.

Creates a two-dimensional Scale.

Attributes

def this(x: Double, y: Double, z: Double)

Creates a three-dimensional Scale.

Creates a three-dimensional Scale.

Attributes

def this(x: Double, y: Double, pivotX: Double, pivotY: Double)

Creates a two-dimensional Scale with pivot.

Creates a two-dimensional Scale with pivot.

Attributes

def this(x: Double, y: Double, z: Double, pivotX: Double, pivotY: Double, pivotZ: Double)

Creates a three-dimensional Scale with pivot.

Creates a three-dimensional Scale with pivot.

Attributes

Concrete methods

Defines the X coordinate about which point the scale occurs.

Defines the X coordinate about which point the scale occurs.

Attributes

def pivotX_=(v: Double): Unit

Defines the Y coordinate about which point the scale occurs.

Defines the Y coordinate about which point the scale occurs.

Attributes

def pivotY_=(v: Double): Unit

Defines the Z coordinate about which point the scale occurs.

Defines the Z coordinate about which point the scale occurs.

Attributes

def pivotZ_=(v: Double): Unit

Defines the factor by which coordinates are scaled along the Z axis direction.

Defines the factor by which coordinates are scaled along the Z axis direction.

Attributes

def z_=(v: Double): Unit

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

Determines if this is currently an identity transform.

Determines if this is currently an identity transform.

Attributes

Inherited from:
Transform
def onTransformChanged: ObjectProperty[EventHandler[_ >: TransformChangedEvent]]

The onTransformChanged event handler is called whenever the transform changes any of its parameters.

The onTransformChanged event handler is called whenever the transform changes any of its parameters.

Attributes

Inherited from:
Transform
def onTransformChanged_=(v: EventHandler[_ >: TransformChangedEvent]): Unit

Attributes

Inherited from:
Transform
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Determines if this is currently a 2D transform.

Determines if this is currently a 2D transform.

Attributes

Inherited from:
Transform

X Position

X Position

Attributes

Inherited from:
PositionDelegate
def x_=(v: Double): Unit

Attributes

Inherited from:
PositionDelegate

Y Position

Y Position

Attributes

Inherited from:
PositionDelegate
def y_=(v: Double): Unit

Attributes

Inherited from:
PositionDelegate

Concrete fields

override val delegate: Scale

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes