不知道你是监听了控件
还是重写了onTouchEvent方法
比较建议第二种方式。

解决方案 »

  1.   

    看看我给的链接吧。我是按照这个来的,他是重写的onTouchEvent方法。但是有我描述的这个问题
      

  2.   


    设置成员变量Point lastPoint
    每次addPoint的时候 lastPoint = addPoint在467-472行中加入check
    判断当前的p和last之间是否有跨点
    有的话把跨点也加入到sPoints中至于怎么判断跨点,应该很好写。
    deltaX/间隔==偶数&&deltaY/间隔==偶数
    跨点即为new Point(lastPointX+deltaX/2,lastPointY+deltaY/2);