trait Easing extends (Double) ⇒ Double
An easing function is a function from [0,1] to the real numbers (but usually numbers in [0,1]) that is used to construct animation that move in a pleasing way.
All easing functions must return 0.0 for input 0.0 and 1.0 for input 1.0.
- Alphabetic
- By Inheritance
- Easing
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
apply(v1: Double): Double
- Definition Classes
- Function1
Concrete 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
-
def
andThen[A](g: (Double) ⇒ A): (Double) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose[A](g: (A) ⇒ Double): (A) ⇒ Double
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
followedBy(that: Easing): Easing
Construct an easing function that has the first half of its output from this easing function, and the second half from that easing function.
Construct an easing function that has the first half of its output from this easing function, and the second half from that easing function.
For the input [0, 0.5) the resulting function uses this easing function, and for [0.5, 1] uses that easing function. The input to the two easing functions is linearly scaled so that they both receive a value in the range [0, 1]. Their output is scaled in half so the first function generates values in [0, 0.5] and the second in [0.5, 1.0].
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
reflect: Easing
Reflect this easing around x = 0.5 and y = 0.5.
Reflect this easing around x = 0.5 and y = 0.5. Constructs an "out" easing from an "in" easing and vice versa.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toObservable(steps: Int): Observable[Double]
Convert to an Observable that produces a total of steps values, starting at 0.0 and finishing at 1.0
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()