/** [Internal] */ public String obj2str(Object o) { if (o == null) return "-null-"; String s = ""; if (o instanceof Object[]) { Object[] a = (Object[]) o; for (Object ox : a) s = s + " " + ox; } else if (o instanceof BasicStroke) { BasicStroke o1 = (BasicStroke) o; s = "BasicStroke(" + o1.getLineWidth() + "," + o1.getDashPhase() + "," + o1.getLineJoin() + "," + o1.getMiterLimit() + "," + o1.getEndCap(); } else s = "" + o; return s; }