|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ColourChoiceStrategy
Pixel colouring strategy used during the conversion process
| Method Summary | |
|---|---|
int |
colour(int originalAlphaRgb,
int mostPopularAlphaRgbColour,
int secondMostAlphaPopularRgb)
Method to return the RGB int colour (Spectrum colour) that should be used for a given pixel based on the Spectrum colours passed in as mostPopularColour and secondMostPopularColour. |
| Method Detail |
|---|
int colour(int originalAlphaRgb,
int mostPopularAlphaRgbColour,
int secondMostAlphaPopularRgb)
originalAlphaRgb - mostPopularAlphaRgbColour - secondMostAlphaPopularRgb -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||