Package toxi.color
Class AlphaAccessor
java.lang.Object
toxi.color.AccessCriteria
toxi.color.AlphaAccessor
- All Implemented Interfaces:
Comparator<ReadonlyTColor>
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
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AlphaAccessor
public AlphaAccessor()
-
-
Method Details
-
compare
-
getComponentValueFor
- Specified by:
getComponentValueFor
in classAccessCriteria
-
setComponentValueFor
- Specified by:
setComponentValueFor
in classAccessCriteria
-