Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.color
Class CMYKDistanceProxy

    java.lang.Object
      toxi.color.CMYKDistanceProxy

All Implemented Interfaces:
  DistanceProxy

    public class CMYKDistanceProxy

extends java.lang.Object
implements DistanceProxy

Implements the `DistanceProxy` interface to sort colors by CMYK distance (used by `ColorList.sortByDistance(DistanceProxy, boolean)`).

Constructor Summary
`CMYKDistanceProxy()`

Method Summary
`float` | `distanceBetween(ReadonlyTColor a, ReadonlyTColor b)` Computes the distance between 2 colors.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CMYKDistanceProxy

    public CMYKDistanceProxy()

Method Detail

### distanceBetween

    public float distanceBetween(ReadonlyTColor a,
                                 ReadonlyTColor b)

  Description copied from interface: `DistanceProxy`
  Computes the distance between 2 colors.

  Specified by:
    `distanceBetween` in interface `DistanceProxy`
  Returns:
    distance

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD