Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Interpolator<T, U>

Type parameters

  • T: U

  • U

Hierarchy

  • Interpolator

Implements

Index

Properties

Static color

color: function

Type declaration

Static shape

shape: function

Type declaration

Static structure

structure: function

Type declaration

Static transform

transform: function

Type declaration

Methods

Abstract deinterpolate

  • deinterpolate(y: U): number

Abstract equals

  • equals(that: unknown): boolean

Abstract interpolate

  • interpolate(u: number): T

map

  • map<U>(f: function): Interpolator<U>

Abstract range

  • range(): T[]
  • range(ys: ReadonlyArray<U>): Interpolator<T>
  • range(y0: U, y1?: U): Interpolator<T>

Static angle

Static array

Static form

Static from

  • from<T, U>(a?: U, b?: U): Interpolator<T, U>

Static fromAny

Static interpolator

Static len

Static map

  • map<S, T>(a: S, b: S, f: function): Interpolator<T>

Static number

Static step

Static time