android,画布撤消最后一笔
从画布上撤消最后一笔的最简单方法是什么?只需撤消一次就可以了,两到三个是一个加号,尽管我想避免使用 Stack 和“push”来支持 ArrayList,因为我有一个使用 、push 和 pop 的工作方法,但似乎这会扰乱绘制速度出于某种原因。所以现在我只想要一个更简单、更少撤消的级别,无需堆栈。谢谢
What's the simplest way to do an Undo last stroke from canvas? Just undo once is ok, two or three is a plus although I'd want to avoid using Stack and 'push' in favor of ArrayList since I had a working method with , push and pop but seems like that messes up the drawing speed for some reason. So now I just want a simpler less undo levels without Stack. thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你使用drawBitmap在屏幕上绘图吗?
如果是,则将位图存储到 SD 卡中。然后删除最后一张并显示上一张。
Are u using drawBitmap to draw on screen?
If yes then u r storing the bitmaps into sd card. Then just delete the last one and show the previous one.