public class ColourLovers extends Object
Constructor and Description |
---|
ColourLovers(PApplet parent)
Constructor, Main ColourLovers object.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Palette> |
getNew()
Returns an ArrayList of Palette objects with the newest color palettes from ColourLovers.
|
ArrayList<Palette> |
getRandom()
Returns an ArrayList of Palette objects with a single random palette from ColourLovers.
|
ArrayList<Palette> |
getTop()
Returns an ArrayList of Palette objects with the most loved color palettes from ColourLovers.
|
ArrayList<Palette> |
search(String keyWord)
Returns an ArrayList of Palette objects with based on a keyword search
|
void |
setDebug(boolean debug)
Debug Mode is disabled by default.
|
public ColourLovers(PApplet parent)
parent
- public ArrayList<Palette> getNew()
public ArrayList<Palette> getTop()
public ArrayList<Palette> getRandom()
public ArrayList<Palette> search(String keyWord)
keyWord
- A String with the keyword you want to search for.public void setDebug(boolean debug)
debug
- Processing library colorLib by Jan Vantomme. (C) 2012 - 2015