public class AnnotationColourGradient extends ResidueColourScheme\r
{\r
AlignmentAnnotation annotation;\r
- float minCol, maxCol, minValue, maxValue;\r
boolean aboveAnnotationThreshold = false;\r
\r
float r1, g1, b1, rr, gg, bb, dr, dg, db;\r
\r
}\r
\r
+ public Color getMinColour()\r
+ {\r
+ return new Color( (int) r1, (int) g1, (int) b1);\r
+ }\r
+\r
+ public Color getMaxColour()\r
+ {\r
+ return new Color( (int) (r1 + rr), (int) (g1 + gg), (int) (b1 + bb));\r
+ }\r
+\r
/**\r
* DOCUMENT ME!\r
*\r