Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InterpolatorMap<S, T, U>

Type parameters

  • S

  • T

  • U

Hierarchy

  • Interpolator<T>
    • InterpolatorMap

Implements

Index

Constructors

constructor

  • new InterpolatorMap(interpolator: Interpolator<S>, transform: function): InterpolatorMap

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: T): number

equals

  • equals(that: unknown): boolean

interpolate

  • interpolate(u: number): T

map

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

range

  • range(): T[]
  • range(ys: ReadonlyArray<T>): Interpolator<T>
  • range(y0: T, y1?: T): 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 lngLat

Static map

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

Static number

Static scale

Static step

Static time