| Package | Description |
|---|---|
| net.returnvoid.analytics |
A package for analysing things (e.g. images).
|
| net.returnvoid.color |
A package concerning colors, color spaces, color metrics and color palettes.
|
| net.returnvoid.io |
A package for imports and exports.
|
| Modifier and Type | Method and Description |
|---|---|
ColorPalette |
ColorClustering.toColorPalette()
Builds a color palette from this clustering.
|
ColorPalette |
ColorClustering.toColorPalette(boolean useMeans)
Builds a color palette from this clustering.
|
| Modifier and Type | Method and Description |
|---|---|
ColorPalette |
ColorPalette.add(int c)
Adds a color to this palette.
|
ColorPalette |
ColorPalette.add(int c,
int importance)
Adds a color to this palette.
|
ColorPalette |
ColorPalette.add(RColor c)
Adds a color to this palette.
|
ColorPalette |
ColorPalette.add(RColor c,
int importance)
Adds a color to this palette.
|
ColorPalette |
ColorPalette.addTag(java.lang.String tag)
Adds a tag (e.g.
|
ColorPalette |
ColorPalette.addTags(java.lang.String... tags)
Adds one or more tags (e.g.
|
ColorPalette |
ColorPalette.applyImportance(int[] importances)
Sets the importances of the palettes colors.
|
ColorPalette |
ColorPalette.applyImportance(int c,
int importance)
Sets the importance of a color.
|
ColorPalette |
ColorPalette.applyImportance(RColor c,
int importance)
Sets the importance of a color.
|
ColorPalette |
ColorPalette.copy()
Creates a true copy of this palette.
|
ColorPalette |
ColorPalette.draw(processing.core.PApplet parent,
float x,
float y,
float w,
float h)
Draws a simple representation of this color palette within a rectangular
form.
|
ColorPalette |
ColorPalette.increaseImportance(RColor c,
int howMuch)
Increases the importance of the given color.
|
ColorPalette |
ColorPalette.merge(ColorPalette other)
Merges two color palettes - adds another color palette to this one.
|
ColorPalette |
ColorPalette.reduceSize(int size)
Reduces the number of colors to the given size.
|
ColorPalette |
ColorPalette.remove(int c)
Removes the given color from the palette.
|
ColorPalette |
ColorPalette.remove(RColor c)
Removes the given color from the palette.
|
ColorPalette |
ColorPalette.removeName()
Removes the currently set name for this palette.
|
ColorPalette |
ColorPalette.removeTag(java.lang.String tag)
Removes the given tag from the tag list associated with this palette.
|
ColorPalette |
ColorPalette.resetImportance()
Resets the importance of all member colors of the palette to 1 (all
colors are weighted equally).
|
ColorPalette |
ColorPalette.save(processing.core.PApplet parent)
This method saves a JSON file containing this palettes color information.
|
ColorPalette |
ColorPalette.save(processing.core.PApplet parent,
java.lang.String folder)
This method saves a JSON file containing this palettes color information.
|
ColorPalette |
ColorPalette.save(processing.core.PApplet parent,
java.lang.String folder,
java.lang.String name)
This method saves a JSON file containing this palettes color information.
|
ColorPalette |
ColorPalette.save(java.lang.String path)
This method saves a JSON file containing this palettes color information.
|
ColorPalette |
ColorPalette.save(java.lang.String path,
java.lang.String name)
This method saves a JSON file containing this palettes color information.
|
ColorPalette |
ColorPalette.setColorDifferenceMeasure(ColorDifferenceMeasure m)
Sets the ColorDifferenceMeasure.
|
ColorPalette |
ColorPalette.setColorSpace(ColorSpace space)
Sets the measure which will be used to calculate the most similar color
from an input to one of the palette's color.
|
ColorPalette |
ColorPalette.setColorSpace(RColor c)
Sets the measure which will be used to calculate the most similar color
from an input to one of the palette's color.
|
ColorPalette |
ColorPalette.setName(java.lang.String name)
Sets a name which will be associated with this palette.
|
ColorPalette |
ColorPalette.sort()
Sorts the colors by luminance beginning with the lowest luminance.
|
ColorPalette |
ColorPalette.sort(java.lang.String how)
Sorts the colors by a parameter beginning with the lowest.
|
| Modifier and Type | Method and Description |
|---|---|
ColorPalette |
ColorPalette.merge(ColorPalette other)
Merges two color palettes - adds another color palette to this one.
|
| Modifier and Type | Method and Description |
|---|---|
ColorPalette |
ColorPaletteLoader.first() |
ColorPalette |
ColorPaletteLoader.get(int index) |
ColorPalette |
ColorPaletteLoader.getCurrent() |
ColorPalette |
ColorPaletteLoader.last() |
ColorPalette[] |
ColorPaletteLoader.loadAllFiles() |
ColorPalette |
ColorPaletteLoader.loadFile(int index) |
ColorPalette |
ColorPaletteLoader.next() |
ColorPalette |
ColorPaletteLoader.nextRandom() |
ColorPalette |
ColorPaletteLoader.previous() |
| Modifier and Type | Method and Description |
|---|---|
void |
ColorPaletteUpdateObserver.setColorPalette(ColorPalette palette)
Sets the color palette of this object.
|