JAL-3383 get color as int options removed (to separate branch 3443)
[jalview.git] / src / jalview / renderer / seqfeatures / FeatureColourFinder.java
index a2ce35b..703f220 100644 (file)
@@ -117,36 +117,6 @@ public class FeatureColourFinder
     return c;
   }
 
-  public int findFeatureColourInt(int defaultColour, SequenceI seq,
-          int column)
-  {
-    Graphics g = null;
-
-    /*
-     * if transparency applies, provide a notional 1x1 graphics context 
-     * that has been primed with the default colour
-     */
-    if (featureRenderer.getTransparency() != 1f)
-    {
-      g = goff;
-      if (defaultColour != 0)
-      {
-        offscreenImage.setRGB(0, 0, defaultColour);
-      }
-    }
-
-    Color c = featureRenderer.findFeatureColour(seq, column + 1, g);
-    if (c == null)
-    {
-      return defaultColour;
-    }
-
-    if (g != null)
-    {
-      return offscreenImage.getRGB(0, 0);
-    }
-    return c.getRGB();
-  }
   /**
    * Answers true if feature display is turned off, or there are no features
    * configured to be visible