public class Complement extends Palette
Constructor and Description |
---|
Complement(PApplet parent)
Creates a 2 color Palette with the passed color and its complement on the RYB color wheel.
|
Complement(PApplet parent,
int color)
Creates a 2 color Palette with the passed color and its complement on the RYB color wheel.
|
Modifier and Type | Method and Description |
---|---|
void |
createPalette(int color) |
Complement |
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 Complement(PApplet parent)
color
- public Complement(PApplet parent, int color)
color
- public Complement setColor(int color)
color
- public void createPalette(int color)
createPalette
in class Palette
Processing library colorLib by Jan Vantomme. (C) 2012 - 2015