final case class Map[A, B](source: Interpolation[A], f: (A) => B) extends Interpolation[B] with scala.Product with Serializable
- Source
- Interpolation.scala
- Alphabetic
- By Inheritance
- Map
- Serializable
- Product
- Equals
- Interpolation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Map(source: Interpolation[A], f: (A) => B)
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]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val f: (A) => B
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forDuration(duration: Duration): Transducer[B]
- Definition Classes
- Interpolation
- def forSteps(steps: Long): Transducer[B]
Create a transducer that will produce the given number of values before it stops.
Create a transducer that will produce the given number of values before it stops. So, for example, calling
forSteps(2)
will create a transducer that produces 2 values before it stops.The number of steps must be non-negative. 0 steps means a transducer that stops immediately. 1 step will produce the start value for a half-open interval and the stop value for a closed interval.
- Definition Classes
- Interpolation
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (B) => B): Interpolation[B]
Transform the output of this interpolation with the given function.
Transform the output of this interpolation with the given function.
- Definition Classes
- Interpolation
- 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()
- def product[B](that: Interpolation[B]): Interpolation[(B, B)]
Combine this Interpolation in parallel with that Interpolation.
Combine this Interpolation in parallel with that Interpolation.
- Definition Classes
- Interpolation
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val source: Interpolation[A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withEasing(easing: Easing): Interpolation[B]
Apply an easing function to this interpolation.
Apply an easing function to this interpolation.
Map the range in this interpolation to 0.0 and 1.0, pass through the given easing function, and then map back to the original domain.
- Definition Classes
- Interpolation