API Docs for:
Show:

Easings Class

Module: gs

Holds different easing types and helper methods.

Item Index

Properties

Methods

fromObject

(
  • obj
)

Parameters:

  • obj Object
    • The easing data-object.

fromString

(
  • s
)

Parameters:

  • s String
    • The easing string like "quad_in" for example.

fromValues

(
  • index
  • inOut
)

Parameters:

  • index Number
    • The index.
  • inOut Number
    • The in-out value.

Properties

BY_INDEX

Number[] final static

BY_STRING

Object final static

EASE_CIRCULAR

Number[] final static

EASE_CUBIC

Number[] final static

EASE_EXPONENTIAL

Number[] final static

EASE_FUNCTIONS

Function[] final static

Contains all easing functions by type and in/out.

EASE_LINEAR

Number[] final static

EASE_QUADRATIC

Number[] final static

EASE_QUARTIC

Number[] final static

EASE_QUINTIC

Number[] final static

EASE_SINUSOIDAL

Number[] final static