public class Shaded extends Palette
Constructor and Description |
---|
Shaded(PApplet parent)
Creates a Shaded color palette with 6 colors, based on a given color.
|
Shaded(PApplet parent,
int color) |
Modifier and Type | Method and Description |
---|---|
void |
createPalette(int color) |
Shaded |
setColor(int color) |
addColor, addColors, createPalette, drawSwatches, drawSwatches, getAverage, getColor, getDarkest, getLightest, numSwatches, removeDuplicateSwatches, rotateRGB, rotateRYB, sortByHue, sortByLuminance, sortByProximity, sortBySaturation
public Shaded(PApplet parent)
parent
- public Shaded(PApplet parent, int color)
public Shaded setColor(int color)
public void createPalette(int color)
createPalette
in class Palette
Processing library colorLib by Jan Vantomme. (C) 2012 - 2015