JohnnyOpcode / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

PaletteUtils.getCategoryPalette() not returning a proper array #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
this method has similar issues as in issue #73

1) array returned begins w/undefined elements

2) per the docs, the array PaletteUtils.CATEGORY_HUES should have twelve 
elements... but it only 
has 9, reducing number of different colors

3) when this method calls PaletteUtils.hsba() it should multiple the value by 
360 to use the entire 
range of hues.

Original issue reported on code.google.com by sunilbd...@gmail.com on 12 Jan 2009 at 11:21