摘要:
拖拽: draggable="true"页面上就能实现拖拽事件: ondragstart 拖拽开始事件 ondrag 拖拽中 ondragend 拖拽结束事件投放区事件: ondragenter 进入投放区 ondragover 投放区移动 ondragleav... 阅读全文
摘要:
canvas 标签:获取画笔: 对象.getContext("2d")制定画笔Syte: context.fillStyle = "red"; context.fill(); context.strokeStyle = "blue"; context.stroke();设置线条的宽度: l... 阅读全文