AugmentColorModels extension
- on
Methods
-
augment(
int newLength, {List< double> ? stops, ColorSpace? colorSpace, bool invert = false}) → List<ColorModel> -
Available on Iterable<
Returns a new color palette derived from this one; containing the number of colors defined byColorModel> , provided by the AugmentColorModels extensionnewLength
. -
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.