dragX就是鼠标瞬间移动的的距离 TotalDragX就是鼠标在这个动作的总移动距离 DragTime就是鼠标开始移动到结束的时间(单位是毫秒) 转载于:https://www.cnblogs.com/newt/p/9221230.html