Interpolator

object Interpolator

Wraps a `Interpolator`. Really no point wrapping the JavaFX Interpolator class, so this just exposes the statics.

Wraps a `Interpolator`. Really no point wrapping the JavaFX Interpolator class, so this just exposes the statics.

class Object
trait Matchable
class Any

Value members

Concrete methods

def Discrete: Interpolator

Built-in Interpolator that provides discrete time interpolation.

Built-in Interpolator that provides discrete time interpolation.

def EaseBoth: Interpolator

Built-in Interpolator instance that provides ease in/out behavior.

Built-in Interpolator instance that provides ease in/out behavior.

def EaseIn: Interpolator

Built-in Interpolator instance that provides ease in behavior.

Built-in Interpolator instance that provides ease in behavior.

def EaseOut: Interpolator

Built-in Interpolator instance that provides ease out behavior.

Built-in Interpolator instance that provides ease out behavior.

def Linear: Interpolator

Built-in Interpolator that provides linear time interpolation.

Built-in Interpolator that provides linear time interpolation.

def Spline(x1: Double, y1: Double, x2: Double, y2: Double): Interpolator

Creates an Interpolator, which curve() is shaped using the spline control points defined by (x1, y1) and (x2, y2).

Creates an Interpolator, which curve() is shaped using the spline control points defined by (x1, y1) and (x2, y2).

Value Params
x1

x coordinate of the first control point

x2

x coordinate of the second control point

y1

y coordinate of the first control point

y2

y coordinate of the second control point

Returns

A spline interpolator

def Tangent(t: Duration, v: Double): Interpolator

Creates a tangent Interpolator, for which in-tangent and out-tangent are identical.

Creates a tangent Interpolator, for which in-tangent and out-tangent are identical.

Value Params
t

The delta time of the tangent

v

The value of the tangent

Returns

the new Tangent interpolator

def Tangent(t1: Duration, v1: Double, t2: Duration, v2: Double): Interpolator

Create a tangent Interpolator.

Create a tangent Interpolator.

Value Params
t1

The delta time of the in-tangent

t2

The delta time of the out-tangent

v1

The value of the in-tangent

v2

The value of the out-tangent

Returns

the new tangent interpolator

Deprecated methods

@deprecated("Use Discrete; DISCRETE will be removed in a future release", "8.0.60-R10")
def DISCRETE: Interpolator
Deprecated
@deprecated("Use EaseBoth; EASE_BOTH will be removed in a future release", "8.0.60-R10")
def EASE_BOTH: Interpolator
Deprecated
@deprecated("Use EaseIn; EASE_IN will be removed in a future release", "8.0.60-R10")
def EASE_IN: Interpolator
Deprecated
@deprecated("Use EaseOut; EASE_OUT will be removed in a future release", "8.0.60-R10")
def EASE_OUT: Interpolator
Deprecated
@deprecated("Use Linear; LINEAR will be removed in a future release", "8.0.60-R10")
def LINEAR: Interpolator
Deprecated
@deprecated("Use Spline; SPLINE will be removed in a future release", "8.0.60-R10")
def SPLINE(x1: Double, y1: Double, x2: Double, y2: Double): Interpolator
Deprecated
@deprecated("Use Tangent; TANGENT will be removed in a future release", "8.0.60-R10")
def TANGENT(t: Duration, v: Double): Interpolator
Deprecated
@deprecated("Use Tangent; TANGENT will be removed in a future release", "8.0.60-R10")
def TANGENT(t1: Duration, v1: Double, t2: Duration, v2: Double): Interpolator
Deprecated