The move method updates the dragger, as seen in Listing 6.
move方法更新这个dragger,如清单6所示。
In between, the move method receives the coordinates of every mouse movement.
在这两个方法调用之间,move方法接收每次鼠标移动的坐标。
As you move the cursor around, the move method is called repeatedly, again passing the current coordinates of the cursor.
当四处移动光标时,会反复调用move方法,然后同样被传递给光标当前对应的坐标。
应用推荐