From d622d93ba5a3e596a4ea29bc1ba75bf2acacfdf0 Mon Sep 17 00:00:00 2001 From: James Procter Date: Mon, 25 Sep 2023 17:54:44 +0100 Subject: [PATCH] JAL-3858 javadoc and slightly revised green linear shading - still not a perfect match to EBI AlphaFold --- src/jalview/renderer/ContactMapRenderer.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/jalview/renderer/ContactMapRenderer.java b/src/jalview/renderer/ContactMapRenderer.java index 0471145..bec0f1e 100644 --- a/src/jalview/renderer/ContactMapRenderer.java +++ b/src/jalview/renderer/ContactMapRenderer.java @@ -49,6 +49,15 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI */ Color selMinColor, selMaxColor; + /** + * + * @param no_data - colour when no data available + * @param hidden - colour if this row is hidden + * @param maxColor - colour for maximum value of contact + * @param minColor - colour for minimum value of contact + * @param selMinColor - min colour if the contact has been selected + * @param selMaxColor - max colour if contact is selected + */ public Shading(Color no_data, Color hidden, Color maxColor, Color minColor, Color selMinColor, Color selMaxColor) { @@ -79,8 +88,8 @@ public abstract class ContactMapRenderer implements AnnotationRowRendererI { return new Shading(Color.pink, Color.red, - new Color(246, 252, 243), new Color(0, 60, 26), - new Color(26, 0, 60), new Color(243, 246, 252)); + new Color(247, 252, 245), new Color(0, 68, 28), + new Color(28, 0, 68), new Color(245,247,252)); } }; } -- 1.7.10.2