case class AnimationOptions(keyFrameDuration: FiniteDuration = 2.seconds, interpolationDuration: FiniteDuration = 1.seconds, 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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AnimationOptions(keyFrameDuration: FiniteDuration = 2.seconds, interpolationDuration: FiniteDuration = 1.seconds, 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( ... ) @native()
- def delay: FiniteDuration
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val framesPerSecond: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val interpolationDuration: FiniteDuration
- def interpolationFrames: Int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyFrameDuration: FiniteDuration
- def keyFrames: Int
- val loop: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val onionSkinLayers: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withOnionSkinLayers(layers: Int): AnimationOptions