Timeline

object Timeline extends AnimationStatics

Companion Object for scalafx.animation.Timeline.

Companion Object for scalafx.animation.Timeline.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(keyFrames: Seq[_ <: KeyFrame]): Timeline

Creates a new Timeline from a sequence of scalafx.animation.KeyFrames.

Creates a new Timeline from a sequence of scalafx.animation.KeyFrames.

Value Params
keyFrames

sequence of scalafx.animation.KeyFrames.

Returns

A new Timeline

Inherited fields

val Indefinite: Int

Used to specify an animation that repeats indefinitely, until the stop() method is called.

Used to specify an animation that repeats indefinitely, until the stop() method is called.

Inherited from
AnimationStatics

Deprecated and Inherited fields

@deprecated("Use Indefinite; INDEFINITE will be removed in a future release", "2.2.60")
val INDEFINITE: Int
Deprecated
Inherited from
AnimationStatics

Implicits

Implicits

implicit def sfxTimeline2jfx(v: Timeline): Timeline

Converts a ScalaFX Timeline to a JavaFX `Timeline`, extracting its delegate.

Converts a ScalaFX Timeline to a JavaFX `Timeline`, extracting its delegate.

Value Params
v

ScalaFX Timeline

Returns

JavaFX Timeline extracted from v.