Closed

doodle.interact.animation.Interpolation$.Closed
final case class Closed[A](start: A, stop: A, interpolator: Interpolator[A]) extends Interpolation[A]

Attributes

Source:
Interpolation.scala
Graph
Supertypes
trait Product
trait Equals
trait Interpolation[A]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

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.

Attributes

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

Transform the output of this interpolation with the given function.

Transform the output of this interpolation with the given function.

Attributes

Inherited from:
Interpolation
Source:
Interpolation.scala

Combine this Interpolation in parallel with that Interpolation.

Combine this Interpolation in parallel with that Interpolation.

Attributes

Inherited from:
Interpolation
Source:
Interpolation.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

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.

Attributes

Inherited from:
Interpolation
Source:
Interpolation.scala