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