Scale

interface Scale<D, R>

Maps values from a Domain to a Range.

Generally, this is used to map from a raw data format (a time, a measurement, etc) to a visual representation (a color, a coordinate, etc).

Inheritors

Functions

Link copied to clipboard
operator fun <D, R> Scale<D, R>.invoke(input: D): R
Link copied to clipboard
abstract fun scale(input: D): R