Uses of Class
toxi.color.AccessCriteria
-
Uses of AccessCriteria in toxi.color
Modifier and TypeClassDescriptionclass
Compares 2 colors by their alpha value.class
Compares 2 colors by one of their CMYK component values.class
Compares 2 colors by one of their HSV component values.class
Compares 2 colors by their luminance values.class
Compares 2 colors by one of their RGB component values.Modifier and TypeFieldDescriptionstatic final AccessCriteria
AccessCriteria.ALPHA
static final AccessCriteria
AccessCriteria.BLACK
static final AccessCriteria
AccessCriteria.BLUE
static final AccessCriteria
AccessCriteria.BRIGHTNESS
static final AccessCriteria
AccessCriteria.CYAN
static final AccessCriteria
AccessCriteria.GREEN
static final AccessCriteria
AccessCriteria.HUE
static final AccessCriteria
AccessCriteria.LUMINANCE
static final AccessCriteria
AccessCriteria.MAGENTA
static final AccessCriteria
AccessCriteria.RED
static final AccessCriteria
AccessCriteria.SATURATION
static final AccessCriteria
AccessCriteria.YELLOW
Modifier and TypeMethodDescriptionColorList.clusterSort
(AccessCriteria clusterCriteria, AccessCriteria subClusterCriteria, int numClusters, boolean isReversed) Sorts the list based on two criteria to create clusters/segments within the list.float
ReadonlyTColor.getComponentValue
(AccessCriteria criteria) float
TColor.getComponentValue
(AccessCriteria criteria) TColor.setComponent
(AccessCriteria criteria, float val) Sets a color component by name.ColorList.sortByCriteria
(AccessCriteria criteria, boolean isReversed) Sorts the list using the givenAccessCriteria
.