face.setColor(color);
face.setLayerName(LAYER_NAME);
doc.addDXFEntity(face);
DXFText t = new DXFText();
t.setDXFDocument(doc);
t.setText("DEBUG-" + type);
t.getInsertPoint().setX(bounds.getMinimumX());
t.getInsertPoint().setY(bounds.getMaximumY());
t.setColor(color);
t.setLayerName(LAYER_NAME);
doc.addDXFEntity(t);
}