|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DistanceProxy | |
|---|---|
| toxi.color | |
| Uses of DistanceProxy in toxi.color |
|---|
| Classes in toxi.color that implement DistanceProxy | |
|---|---|
class |
CMYKDistanceProxy
Implements the DistanceProxy interface to sort colors by CMYK
distance (used by ColorList.sortByDistance(DistanceProxy, boolean)). |
class |
HSVDistanceProxy
Implements the DistanceProxy interface to sort colors by HSV distance
(used by ColorList.sortByDistance(DistanceProxy, boolean)). |
class |
RGBDistanceProxy
Implements the DistanceProxy interface to sort colors by RGB distance
(used by ColorList.sortByDistance(DistanceProxy, boolean)). |
| Methods in toxi.color with parameters of type DistanceProxy | |
|---|---|
ColorList |
ColorList.sortByDistance(DistanceProxy proxy,
boolean isReversed)
Sorts the list by relative distance to each predecessor, starting with the darkest color in the list. |
ColorList |
ColorList.sortByProximityTo(ReadonlyTColor target,
DistanceProxy proxy,
boolean isReversed)
Sorts the list by proximity to the given target color using the given DistanceProxy implementation. |
| Constructors in toxi.color with parameters of type DistanceProxy | |
|---|---|
ProximityComparator(ReadonlyTColor col,
DistanceProxy proxy)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||