Easel.js stage.clear()不起作用 [英] Easel.js stage.clear() not working
本文介绍了Easel.js stage.clear()不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
非常简单的概念,但似乎并没有起作用。这是我的代码:
Pretty simple concept but it doesn't seem to be working. Here is my code:
stage.clear();
stage.update();
简单的东西 - 没有任何反应。文档没有帮助。
Simple stuff -- nothing happens. The docs aren't helping.
推荐答案
这最终为我工作:
stage.removeAllChildren();
stage.update();
这篇关于Easel.js stage.clear()不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文