126127128129130131132133134135136
float x = xFor(line); y += line.getAscent() - line.getDescent(); Color shadowColor = colors.shadow(); g.setColor(shadowColor); line.draw(g, x-1, y-1); g.setColor(colors.text()); line.draw(g, x, y); y += line.getDescent(); } }