Ignore:
Timestamp:
2020-06-04T10:36:16+02:00 (5 years ago)
Author:
malcolmh
Message:

[Seachart] Publish new release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Renderer.java

    r35404 r35483  
    100100        Point2D point = context.getPoint(Rules.feature.geom.centre);
    101101        Symbols.drawSymbol(g2, symbol, sScale, point.getX(), point.getY(), scheme, delta);
     102    }
     103
     104    public static void colLetters(ArrayList<?> cols) {
     105                String str = "";
     106                for (int i = 0; (i < cols.size()) && (i < 4); i++) {
     107                        str = str.concat(Rules.colourLetters.get(cols.get(i)));
     108                }
     109                labelText(str, new Font("Arial", Font.PLAIN, 40), Color.black, new Delta(Handle.TC, AffineTransform.getTranslateInstance(0, 40)));
    102110    }
    103111
Note: See TracChangeset for help on using the changeset viewer.