Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NumberInterpolator

Hierarchy

  • Interpolator<number, number | string>
    • NumberInterpolator

Implements

Index

Constructors

constructor

  • new NumberInterpolator(y0: number | string | undefined, y1: number | string | undefined): NumberInterpolator

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

deinterpolate

  • deinterpolate(y: number | string): number

equals

  • equals(that: unknown): boolean

interpolate

  • interpolate(u: number): number

map

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

range

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 lngLat

Static map

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

Static number

Static scale

Static step

Static time