clear() 清空所有路径。
clear()
update: function (dt) { var ctx = node.getComponent(Graphics); ctx.clear(); ctx.circle(200,200, 200); ctx.stroke(); }
返回 Graphics 组件参考