Interpolator

scalafx.animation.Interpolator
object Interpolator

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def Discrete: Interpolator

Built-in Interpolator that provides discrete time interpolation.

Built-in Interpolator that provides discrete time interpolation.

Attributes

def EaseBoth: Interpolator

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

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

Attributes

def EaseIn: Interpolator

Built-in Interpolator instance that provides ease in behavior.

Built-in Interpolator instance that provides ease in behavior.

Attributes

def EaseOut: Interpolator

Built-in Interpolator instance that provides ease out behavior.

Built-in Interpolator instance that provides ease out behavior.

Attributes

def Linear: Interpolator

Built-in Interpolator that provides linear time interpolation.

Built-in Interpolator that provides linear time interpolation.

Attributes

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 parameters

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

Attributes

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 parameters

t

The delta time of the tangent

v

The value of the tangent

Attributes

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 parameters

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

Attributes

Returns

the new tangent interpolator

Deprecated methods

def DISCRETE: Interpolator

Attributes

Deprecated
true
def EASE_BOTH: Interpolator

Attributes

Deprecated
true
def EASE_IN: Interpolator

Attributes

Deprecated
true
def EASE_OUT: Interpolator

Attributes

Deprecated
true
def LINEAR: Interpolator

Attributes

Deprecated
true
def SPLINE(x1: Double, y1: Double, x2: Double, y2: Double): Interpolator

Attributes

Deprecated
true
def TANGENT(t: Duration, v: Double): Interpolator

Attributes

Deprecated
true
def TANGENT(t1: Duration, v1: Double, t2: Duration, v2: Double): Interpolator

Attributes

Deprecated
true