Package com.bbn.openmap.layer.specialist

Examples of com.bbn.openmap.layer.specialist.SText


    /**
     * 
     */
    public SText createTextSText(String text, float latitude, float longitude) {
        SText py = new SText();
        py.rType(RenderType.RT_LatLon);
        py.data(text);
        py.ll1(new LLPoint(latitude, longitude));
        return py;
    }
View Full Code Here


        //      MutableInt textType = new MutableInt(-1);
        //      String desc = covtable.getTextDescription(textvec,
        // textType);

        SText py = createTextSText(text, latitude, longitude);
        if (py == null) {
            return;
        }
        //      py.object(new LineComp(desc));

        java.awt.Color tc = (java.awt.Color) drawAtt.getLinePaint();
        if (tc == null)
            tc = java.awt.Color.black;

        py.color(ns(tc));

        //      if (textType.value < 0) {
        //          py.color(textColors[5]);
        //      } else {
        //          py.color(textColors[textType.value % 5]);
View Full Code Here

TOP

Related Classes of com.bbn.openmap.layer.specialist.SText

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.