drawLegendEntry(number, description, color, false);
}
private void drawLegendEntry(int number, String description, Color color,
boolean withOutLine) {
assert description != null && color != null;
<BUG>int startX = fileWidth + LEGEND_GAP;
int startY = LEGEND_GAP + (LEGEND_ENTRY_HEIGHT * number);</BUG>
if (startY >= height) {
startX = startX + legendWidth / 2;
startY = startY - (height);

drawLegendEntry(number, description, color, false);
}
private void drawLegendEntry(int number, String description, Color color,
boolean withOutLine) {
assert description != null && color != null;
int startX = LEGEND_GAP;
int startY = LEGEND_GAP + (LEGEND_ENTRY_HEIGHT * number);
if (startY >= height) {
startX = startX + legendWidth / 2;
startY = startY - (height);
