java.awt.Color lc = (java.awt.Color) drawAtt.getLinePaint();
if (lc == null)
lc = java.awt.Color.black;
py.color(ns(lc));
py.lineWidth((short) ((java.awt.BasicStroke) drawAtt.getStroke()).getLineWidth());
// if (lineType.value < 0) {
// py.color(new SColor((short)30000,(short)30000,(short)0));
// } else {
// py.color(edgeColors[lineType.value % 5]);