double cycleCoef = 1.0 - cyclePos;
Color[] fillColors = new Color[this.fractions.length];
for (int i = 0; i < this.fractions.length; i++) {
ColorSchemeSingleColorQuery colorQuery = this.colorQueries[i];
Color color1 = colorQuery.query(colorScheme1);
Color color2 = colorQuery.query(colorScheme2);
fillColors[i] = SubstanceColorUtilities.getInterpolatedColor(
color1, color2, cycleCoef);
}
MultipleGradientPaint gradient = new LinearGradientPaint(0, 0, 0,