DXFEntity entity) {
String type) {
    protected void addBounds(Bounds bounds, DXFDocument doc, int color,        DXFEntity entity) {        DXF3DFace face = new DXF3DFace();        face.getPoint1().setX(bounds.getMinimumX());        face.getPoint1().setY(bounds.getMinimumY());        face.getPoint2().setX(bounds.getMinimumX());        face.getPoint2().setY(bounds.getMaximumY());        face.getPoint3().setX(bounds.getMaximumX());        face.getPoint3().setY(bounds.getMaximumY());        face.getPoint4().setX(bounds.getMaximumX());        face.getPoint4().setY(bounds.getMinimumY());        face.setColor(color);        face.setLayerName(LAYER_NAME);        doc.addDXFEntity(face);        DXFText t = new DXFText();        t.setDXFDocument(doc);        t.setText("DEBUG-" + entity.getType());        t.getInsertPoint().setX(bounds.getMinimumX());        t.getInsertPoint().setY(bounds.getMaximumY());        t.setColor(color);        t.setLayerName(LAYER_NAME);        doc.addDXFEntity(t);    }