An interface to allow use of different color spaces by quantizers.
- Implementers
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(
List< double> a, List<double> b) → double - Squared distance between two colors. Distance is defined by scientific color spaces and referred to as delta E.
-
fromInt(
int argb) → List< double> - 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(
List< double> 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