="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="kw">var</span> button = ZButton.createButton(assets.getBitmapData(<span class="st">&quot;button&quot;</span>));</span></code></pre></div>
<p>批渲染使用的按钮对象，使用方法可以直接通过BButton.createButton方法创建：</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode haxe"><code class="sourceCode haxe"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co">//创建一�