+ @Override
+ public ColourSchemeI applyTo(AnnotatedCollectionI sg,
+ Map<SequenceI, SequenceCollectionI> hiddenRepSequences)
+ {
+ UserColourScheme usc = new UserColourScheme(colors);
+ if (lowerCaseColours != null)
+ {
+ usc.schemeName = new String(schemeName);
+ usc.lowerCaseColours = new Color[lowerCaseColours.length];
+ System.arraycopy(lowerCaseColours, 0, usc.lowerCaseColours, 0,
+ lowerCaseColours.length);
+ }
+ return usc;
+ }
+