Tween

smile.animation.Tween
object Tween

Interpolation uses progress as given, so easing overshoot carries through. Apply an easing function first to clamp raw timing input. Color blends interpolate gamma-encoded sRGB channel values.

Attributes

Source
Tween.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tween.type

Members list

Value members

Concrete methods

def color(from: Color, to: Color, progress: Double): Color

RGBA channels are rounded and clamped to their representable range after interpolation.

RGBA channels are rounded and clamped to their representable range after interpolation.

Attributes

Source
Tween.scala
def number(from: Double, to: Double, progress: Double): Double

Attributes

Source
Tween.scala
def position(from: Pos, to: Pos, progress: Double): Pos

Attributes

Source
Tween.scala