define("editor/assert/js/plugins/figureview",[],function(require,exports){var a=function(){this.canvas=null,this.dom=null};a.prototype.addElemet=function(){if(!PAGECURRENT)throw new Error("no page");this.dom=new fabric.Path("M 0 0 L 200 100 L 170 200 z"),this.dom.set({left:120,top:120,fill:"rgba(255,255,255,0)",stroke:"#000000"}),this.dom.baseClass=this,this.canvas=PAGECURRENT.c.canvas,this.canvas.add(this.dom)},exports.instance=a});