|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttoxi.image.colour.PaletteUtil
@Deprecated public class PaletteUtil
| Constructor Summary | |
|---|---|
PaletteUtil()
Deprecated. |
|
| Method Summary | |
|---|---|
static int[] |
sortByLuminance(int[] cols)
Deprecated. Sorts a given palette of packed (A)RGB integers by luminance. |
static int[] |
sortByProximity(int[] cols,
int basecol)
Deprecated. Sorts a given palette of packed (A)RGB integers by proximity to a colour. |
static int[] |
sortBySaturation(int[] cols)
Deprecated. Sorts a given palette of packed (A)RGB integers by saturation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PaletteUtil()
| Method Detail |
|---|
public static int[] sortBySaturation(int[] cols)
cols - array of integers in standard packed (A)RGB format
public static int[] sortByLuminance(int[] cols)
cols - array of integers in standard packed (A)RGB format
public static int[] sortByProximity(int[] cols,
int basecol)
cols - array of integers in standard packed (A)RGB formatbasecol - colour to which proximity of all palette items is calculated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||