/*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
+ * Copyright (C) 2015 The Jalview Authors
*
* This file is part of Jalview.
*
maxX = (i - startx + 1) * avcharWidth + fm.stringWidth(string);
}
- gg.drawLine(
-((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
+ gg.drawLine(((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
y + 2,
- ((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
- y + (fm.getDescent() * 2));
+ ((i - startx - 1) * avcharWidth) + (avcharWidth / 2), y
+ + (fm.getDescent() * 2));
}
else
{
- gg.drawLine(
-((i - startx - 1) * avcharWidth) + (avcharWidth / 2),
- y + fm.getDescent(),
- ((i - startx - 1) * avcharWidth)
- + (avcharWidth / 2),
- y + (fm.getDescent() * 2));
+ gg.drawLine(((i - startx - 1) * avcharWidth) + (avcharWidth / 2), y
+ + fm.getDescent(), ((i - startx - 1) * avcharWidth)
+ + (avcharWidth / 2), y + (fm.getDescent() * 2));
}
}
continue;
}
- gg.fillPolygon(new int[]
- { res * avcharWidth - avcharHeight / 4,
+ gg.fillPolygon(new int[] { res * avcharWidth - avcharHeight / 4,
res * avcharWidth + avcharHeight / 4, res * avcharWidth },
- new int[]
- { y - avcharHeight / 2, y - avcharHeight / 2, y + 8 },
- 3);
+ new int[] { y - avcharHeight / 2, y - avcharHeight / 2,
+ y + 8 }, 3);
}
}