|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoxi.color.AccessCriteria
toxi.color.AlphaAccessor
public class AlphaAccessor
Compares 2 colors by their alpha value.
Field Summary |
---|
Fields inherited from class toxi.color.AccessCriteria |
---|
ALPHA, BLACK, BLUE, BRIGHTNESS, CYAN, GREEN, HUE, LUMINANCE, MAGENTA, RED, SATURATION, YELLOW |
Constructor Summary | |
---|---|
AlphaAccessor()
|
Method Summary | |
---|---|
int |
compare(ReadonlyTColor a,
ReadonlyTColor b)
|
float |
getComponentValueFor(ReadonlyTColor col)
|
void |
setComponentValueFor(TColor col,
float value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public AlphaAccessor()
Method Detail |
---|
public int compare(ReadonlyTColor a, ReadonlyTColor b)
public float getComponentValueFor(ReadonlyTColor col)
getComponentValueFor
in class AccessCriteria
public void setComponentValueFor(TColor col, float value)
setComponentValueFor
in class AccessCriteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |