if (this.linePattern != null) { this.linePattern.setPattern(this.parameters); }
    public void endDXFEntity() {        if (this.linePattern != null) {            this.linePattern.setPattern(this.parameters);        }        if (this.pattern != null) {            this.hatch.setPatternID(this.pattern.getId());        }    }