PointProvider

An interface to allow use of different color spaces by quantizers.

Inheritors

Functions

Link copied to clipboard
abstract fun distance(a: Array<Double>, b: Array<Double>): Double
Squared distance between two colors.
Link copied to clipboard
abstract fun fromInt(argb: Int): Array<Double>
The four components in the color space of an sRGB color.
Link copied to clipboard
abstract fun toInt(point: Array<Double>): Int
The ARGB (i.e.