case class AnimationOptions(keyFrameDuration: Duration = Duration.ofSeconds(2), interpolationDuration: Duration = Duration.ofSeconds(1), framesPerSecond: Int = 9, loop: Boolean = true, onionSkinLayers: Int = 0) extends Product with Serializable
Options for rendering animations
- keyFrameDuration
the duration for key frames
- interpolationDuration
the duration for interpolation segments between the key frames set to
Duration.Zero
to disable interpolation- framesPerSecond
the rate to use for interpolation (ignored when interpolation is off)
- loop
whether the animation should be looped infinitely
- onionSkinLayers
set to a positive number
n
to addn
previous frames to each frame, with reduced opacity
- Alphabetic
- By Inheritance
- AnimationOptions
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AnimationOptions(keyFrameDuration: Duration = Duration.ofSeconds(2), interpolationDuration: Duration = Duration.ofSeconds(1), framesPerSecond: Int = 9, loop: Boolean = true, onionSkinLayers: Int = 0)
- keyFrameDuration
the duration for key frames
- interpolationDuration
the duration for interpolation segments between the key frames set to
Duration.Zero
to disable interpolation- framesPerSecond
the rate to use for interpolation (ignored when interpolation is off)
- loop
whether the animation should be looped infinitely
- onionSkinLayers
set to a positive number
n
to addn
previous frames to each frame, with reduced opacity
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def delay: Duration
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val framesPerSecond: Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val interpolationDuration: Duration
- def interpolationFrames: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyFrameDuration: Duration
- def keyFrames: Int
- val loop: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val onionSkinLayers: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withOnionSkinLayers(layers: Int): AnimationOptions
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)