lineTo 用于进行直线绘制。 mPath.lineTo(300, 300);; canvas.drawPath(mPath, mPaint);. 默认从坐标(0,0)开始绘制。如图:. 1441515995106968.png.
確定! 回上一頁