如果我创建一条线...
var line = new Kinetic.Line({
points: [0 , 5, 0, 100],
stroke: 'black',
strokeWidth: 2,
draggable: true
});
我附上一个事件......
line.on("mouseup", function () {
updateLineInput( this.attrs.points );
});
怎么才能把积分拿回来?this.attrs.points
不工作...