AugmentColorModels extension
- on
Methods
-
augment(
int newLength, {List< double> ? stops, ColorSpace? colorSpace, bool invert = false}) → List<ColorModel> -
Available on Iterable<
ColorModel> , provided by the AugmentColorModels extension -
convertTo(
ColorSpace colorSpace) → List< ColorModel> -
Available on Iterable<
Returns a new list containing the colors of this iterable converted to the definedColorModel> , provided by the AugmentColorModels extensioncolorSpace
. -
getColorAt(
double delta) → ColorModel -
Available on Iterable<
Returns the color atColorModel> , provided by the AugmentColorModels extensiondelta
by interpolating between the colors in the list. -
toColors(
) → List< Color> -
Available on Iterable<
Returns a new list containing all of the colors in this list casted to Colors.ColorModel> , provided by the AugmentColorModels extension