PointProvider<T extends Object?> class abstract interface

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

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

distance(T a, T b) → double
Squared distance between two colors. Distance is defined by scientific color spaces and referred to as delta E.
fromInt(int argb) → T
The four components in the color space of an sRGB color.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toInt(T point) → int
The ARGB (i.e. hex code) representation of this color.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited