=================================================================================== This article is reshiped from here, thanks for the author. =================================================================================== 构造Graphics对象 Graphics类是
先上图: 关键是在检測到手指移动的时候用mPath.quadTo的方法,android sdk解释是: Add a quadratic bezier from the last point, approaching control point (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for this contour, the first point is automatically set to (0,0