ColorMapper

typealias ColorMapper<T> = ColorSpace<T>.(components: FloatArray) -> FloatArray

A mapping function used with map.

Parameters

Returns

The new color components. You may alter and return components directly, or a new array the same size as components.