Package toxi.color
Class CMYKAccessor
java.lang.Object
toxi.color.AccessCriteria
toxi.color.CMYKAccessor
- All Implemented Interfaces:
Comparator<ReadonlyTColor>
Compares 2 colors by one of their CMYK component values.
-
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
-
CMYKAccessor
public CMYKAccessor(int comp)
-
-
Method Details
-
compare
-
getComponentValueFor
- Specified by:
getComponentValueFor
in classAccessCriteria
-
setComponentValueFor
- Specified by:
setComponentValueFor
in classAccessCriteria
-