你应该Path.quadTo只使用一个Path.如果您已经这样做,那么我建议增加图表上的点数.
移到开头Path:
Path.moveTo(x, y)
Run Code Online (Sandbox Code Playgroud)
在中间:
Path.quadTo(lastX, lastY, (x + lastX)/2, (y + lastY)/2)
Run Code Online (Sandbox Code Playgroud)
最后:
Path.lineTo(x, y)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7373 次 |
| 最近记录: |