KeyFrame

object KeyFrame

Companion Object for scalafx.animation.KeyFrame.

Companion Object for scalafx.animation.KeyFrame.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(time: Duration, name: String, onFinished: EventHandler[ActionEvent], values: Set[_ <: KeyValue[_, _]]): KeyFrame

Creates a new KeyFrame instance

Creates a new KeyFrame instance

Value Params
name

the Name. Default Value: null.

onFinished

the onFinished-handler. Default Value: null.

time

the time

values

a Set of scalafx.animation.KeyValue instances. Default Value: empty Set.

Returns

A new KeyFrame

Implicits

Implicits

implicit def sfxKeyFrame2jfx(v: KeyFrame): KeyFrame

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

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

Value Params
v

ScalaFX KeyFrame

Returns

JavaFX KeyFrame extracted from v.