public class ColorUtils extends Object
Constructor and Description |
---|
ColorUtils() |
Modifier and Type | Method and Description |
---|---|
Color[] |
interpolateColors(Color[] input,
int colorCount)
Return an array of colors of the requested length that is created by
interpolating the colors provided in the input array.
|
public Color[] interpolateColors(Color[] input, int colorCount)
input
- the input array of colorscolorCount
- the size of the output arrayCopyright 2011-2015 Cytoscape Consortium. All rights reserved.