Options
All
  • Public
  • Public/Protected
  • All
Menu

A collection of common easing functions when performing animations. Can be used with the various transform methods in IReaderViewTransformManager.

Index

Enumeration members

EASE

EASE = "cubic-bezier(0.25, 0.1, 0.25, 1.0)"

The interpolation starts slowly, accelerates sharply, and then slows gradually towards the end. This keyword represents the easing function cubic-bezier(0.25, 0.1, 0.25, 1.0). It is similar to ease-in-out, though it accelerates more sharply at the beginning.

EASE_IN

EASE_IN = "cubic-bezier(0.42, 0.0, 1.0, 1.0)"

The interpolation starts slowly, and then progressively speeds up until the end, at which point it stops abruptly. This keyword represents the easing function cubic-bezier(0.42, 0.0, 1.0, 1.0)

EASE_IN_OUT

EASE_IN_OUT = "cubic-bezier(0.42, 0.0, 0.58, 1.0)"

The interpolation starts slowly, speeds up, and then slows down towards the end. This keyword represents the easing function cubic-bezier(0.42, 0.0, 0.58, 1.0). At the beginning, it behaves like the ease-in function; at the end, it is like the ease-out function.

EASE_OUT

EASE_OUT = "cubic-bezier(0.0, 0.0, 0.58, 1.0)"

The interpolation starts abruptly, and then progressively slows down towards the end. This keyword represents the easing function cubic-bezier(0.0, 0.0, 0.58, 1.0).

MATERIAL_ACCELERATION_CURVE

MATERIAL_ACCELERATION_CURVE = "cubic-bezier(0.4, 0.0, 1, 1)"

Using the acceleration curve (also referred to as “ease in”) elements leave the screen at full velocity. They do not decelerate when off-screen.

They accelerate at the beginning of the animation and may scale down in either size (to 0%) or opacity (to 0%). In some cases, when elements leave the screen at 0% opacity, they may also slightly scale up or down in size.

For more information, see: https://material.io/design/motion/speed.html#easing

MATERIAL_DECELERATION_CURVE

MATERIAL_DECELERATION_CURVE = "cubic-bezier(0.0, 0.0, 0.2, 1)"

Using the deceleration curve (also referred to as “ease out”) elements enter the screen at full velocity and slowly decelerate to a resting point.

During deceleration, elements may scale up either in size (to 100%) or opacity (to 100%). In some cases, when elements enter the screen at 0% opacity, they may slightly shrink from a larger size upon entry.

For more information, see: https://material.io/design/motion/speed.html#easing

MATERIAL_STANDARD_CURVE

MATERIAL_STANDARD_CURVE = "cubic-bezier(0.4, 0.0, 0.2, 1)"

The standard curve (also referred to as “ease in out”) is the most common easing curve. Elements quickly accelerate and slowly decelerate between on-screen locations. It applies to growing and shrinking material, among other property changes.

Generated using TypeDoc