0
我怎樣才能控制quadraticcurve手柄位置與鼠標位置沒有重疊像here? 我需要這樣的東西如何控制quadraticCurve用鼠標位置處理位置?
onMouseMove = function(event) {
var path = new Path();
path.moveTo(300,100);
path.strokeColor = 'blue';
path.fillColor = 'red';
// path.fullySelected = true;
path.quadraticCurveTo(event.point.x,event.point.y,300,500);
}
但是沒有繪製上一個路徑。有什麼辦法實現動態quadraticCurve手柄?
是的!第二種方案這就是我正在尋找的!每個部分都有自己的手柄。 非常感謝! – 2015-03-27 14:34:29