X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Frenderer%2Fseqfeatures%2FFeatureRenderer.java;h=49b98a5fe99d5c2abda2123c0a56cab0ce3ea2e8;hb=846f3f1ad573cad309d41356af68887a4a3348eb;hp=f826a88cb2784bd75f6ade974f39ef35e35be943;hpb=1a4abdb42e66e36aff0cb6f0e151624727eb2885;p=jalview.git diff --git a/src/jalview/renderer/seqfeatures/FeatureRenderer.java b/src/jalview/renderer/seqfeatures/FeatureRenderer.java index f826a88..49b98a5 100644 --- a/src/jalview/renderer/seqfeatures/FeatureRenderer.java +++ b/src/jalview/renderer/seqfeatures/FeatureRenderer.java @@ -210,12 +210,7 @@ public class FeatureRenderer extends FeatureRendererModel } /** - * This is used by Structure Viewers and the Overview Window to get the - * feature colour of the rendered sequence - * - * @param seq - * @param column - * @return + * {@inheritDoc} */ @Override public Color findFeatureColour(SequenceI seq, int column, Graphics g) @@ -271,15 +266,17 @@ public class FeatureRenderer extends FeatureRendererModel /** * Draws the sequence features on the graphics context, or just determines the - * colour that would be drawn (if flag offscreenrender is true). + * colour that would be drawn (if flag colourOnly is true). Returns the last + * colour drawn (which may not be the effective colour if transparency + * applies), or null if no feature is drawn in the range given. * * @param g * the graphics context to draw on (may be null if colourOnly==true) * @param seq * @param start - * start column (or sequence position in offscreenrender mode) + * start column * @param end - * end column (not used in offscreenrender mode) + * end column * @param y1 * vertical offset at which to draw on the graphics * @param colourOnly