WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

Polynomial easing function factory

Hierarchy

  • PolynomialEasingFactory

Callable

  • __call(normalizedTime: number): number
  • Calculate eased time.

    Parameters

    • normalizedTime: number

      Normalized time typically in the range [0, 1]

    Returns number

Index

Methods

Methods

exponent

  • Returns a new polynomial easing with the specified exponent e. If the exponent is not specified, it defaults to 3, equivalent to cubic.

    Parameters

    • e: number

      Exponent for polynomial easing.

    Returns PolynomialEasingFactory

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc