public class ColorCounter extends Object
Constructor and Description |
---|
ColorCounter() |
Modifier and Type | Method and Description |
---|---|
void |
addColor(HSBColor color) |
List<ColorCount> |
getColorRatio() |
Map<HSBColor,Integer> |
getColorRatioAsMap() |
List<ColorCount> |
getSimilarColorRatio()
Like {#getColorRatio}, except it groups similar colours together.
|
public void addColor(HSBColor color)
public List<ColorCount> getColorRatio()
public List<ColorCount> getSimilarColorRatio()
Copyright © 2002-2022 Atlassian. All Rights Reserved.