boolean rna = false;
+ private int lastDrawnHeight;
+
/**
* Render the annotation rows associated with an alignment.
*
System.err.println("Annotation Rendering time:"
+ (System.currentTimeMillis() - stime));
}
- if (!av.getWrapAlignment())
- {
- g.translate(0, y);
- }
+ lastDrawnHeight = y;
return !usedFaded;
}
+ /**
+ * Answers the height in pixels of what was drawn on the graphics in the last
+ * call to {@code drawComponent}
+ *
+ * @return
+ */
+ public int getLastDrawnHeight()
+ {
+ return lastDrawnHeight;
+ }
+
public static final Color GLYPHLINE_COLOR = Color.gray;
public static final Color SHEET_COLOUR = Color.green;