AugmentColorModels extension

on

Methods

augment(int newLength, {List<double>? stops, ColorSpace? colorSpace, bool invert = false}) List<ColorModel>
convertTo(ColorSpace colorSpace) List<ColorModel>
Returns a new list containing the colors of this iterable converted to the defined colorSpace.
getColorAt(double delta) ColorModel
Returns the color at delta by interpolating between the colors in the list.
toColors() List<Color>
Returns a new list containing all of the colors in this list casted to Colors.