}
private void drawLabel(Graphics g, Geometry geo, String text, View view) {
if (text == null || text == "") return;
Envelope env=geo.getEnvelop().transform(view.world2Screen());
if(env.getWidth()+env.getHeight()<labelHide)return;
AttributedString astring = new AttributedString(text);
astring.addAttribute(TextAttribute.FOREGROUND, stringColor);
CPoint p = env.getCenter();
g.drawString(astring.getIterator(), (int) p.getX(), (int) p.getY());
}