Class

reftree.render

AnimationOptions

Related Doc: package render

Permalink

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 add n previous frames to each frame, with reduced opacity

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnimationOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnimationOptions(keyFrameDuration: FiniteDuration = 2.seconds, interpolationDuration: FiniteDuration = 1.seconds, framesPerSecond: Int = 9, loop: Boolean = true, onionSkinLayers: Int = 0)

    Permalink

    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 add n previous frames to each frame, with reduced opacity

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delay: FiniteDuration

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. val framesPerSecond: Int

    Permalink

    the rate to use for interpolation (ignored when interpolation is off)

  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val interpolationDuration: FiniteDuration

    Permalink

    the duration for interpolation segments between the key frames set to Duration.Zero to disable interpolation

  12. def interpolationFrames: Int

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val keyFrameDuration: FiniteDuration

    Permalink

    the duration for key frames

  15. def keyFrames: Int

    Permalink
  16. val loop: Boolean

    Permalink

    whether the animation should be looped infinitely

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val onionSkinLayers: Int

    Permalink

    set to a positive number n to add n previous frames to each frame, with reduced opacity

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def withOnionSkinLayers(layers: Int): AnimationOptions

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped