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