Dxf dxf= new Dxf();
if (this.bHasFontBlock) {
if (font!=null)
dxf.setFont(font);
else
dxf.createFont(this.fontWeight, this.getFontItalic(), this.fontUnderlineStyle, this.fontColorIndex, this.fontHeight);
}
if (this.bHasPatternBlock) {
if (fill!=null)
dxf.setFill(fill);
else