EaselJs使用中的问题
为舞台添加事件
stage.addEventListener("stagemousedown", handleMouseDown);
function handleMouseDown(event) {
oldPt = new createjs.Point(stage.mouseX, stage.mouseY);
oldMidPt = oldPt;
isDrawing = true;
}
为舞台添加事件
stage.addEventListener("stagemousedown", handleMouseDown);