Product

final case class Product[A, B](left: Interpolation[A], right: Interpolation[B]) extends Interpolation[(A, B)]
trait Product
trait Equals
trait Interpolation[(A, B)]
class Object
trait Matchable
class Any

Value members

Inherited methods

def forDuration(duration: Duration): Transducer[(A, B)]
Inherited from:
Interpolation
Source:
Interpolation.scala
def forSteps(steps: Long): Transducer[(A, B)]

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.

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.

Inherited from:
Interpolation
Source:
Interpolation.scala
def map[B](f: ((A, B)) => B): Interpolation[B]

Transform the output of this interpolation with the given function.

Transform the output of this interpolation with the given function.

Inherited from:
Interpolation
Source:
Interpolation.scala
def product[B](that: Interpolation[B]): Interpolation[((A, B), B)]

Combine this Interpolation in parallel with that Interpolation.

Combine this Interpolation in parallel with that Interpolation.

Inherited from:
Interpolation
Source:
Interpolation.scala
Inherited from:
Product
def withEasing(easing: Easing): Interpolation[(A, 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.

Inherited from:
Interpolation
Source:
Interpolation.scala