Commit 657e8a8d authored by campaign's avatar campaign

添加setPoint,getPoint方法

parent ae46c37d
......@@ -11,6 +11,14 @@ var MinderNode = KityMinder.MinderNode = kity.createClass( "MinderNode", {
this.rc = new kity.Group();
this.rc.minderNode = this;
},
setPoint:function(x,y){
this.setData('point',{
x:x,y:y
})
},
getPoint:function(){
return this.getData('point')
},
setText: function ( text ) {
this.setData( 'text', text )
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment