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

## org.metaqtl.graph
Class PaletteColor

    java.lang.Object
      org.metaqtl.graph.PaletteColor

    public final class PaletteColor

extends java.lang.Object

Field Summary
`static java.awt.Color[]` | `base`

Constructor Summary
`PaletteColor()`

Method Summary
`static java.awt.Color[]` | `getPalette(int ncolor)` Returns a palete of colors which should be distinct.
`static java.awt.Color[]` | `getPaletteGradient(int nc, java.awt.Color from, java.awt.Color to)`

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

Field Detail

### base

    public static final java.awt.Color[] base

Constructor Detail

### PaletteColor

    public PaletteColor()

Method Detail

### getPalette

    public static java.awt.Color[] getPalette(int ncolor)

  Returns a palete of colors which should be distinct.

  Parameters:
    `ncolor` -
  Returns:

### getPaletteGradient

    public static java.awt.Color[] getPaletteGradient(int nc,
                                                      java.awt.Color from,
                                                      java.awt.Color to)

  Parameters:
    `proba_bin` -
    `yellow` -
    `red` -
  Returns:

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