ng="0"><tr><td class="detailHeaderName">cacheToBitmap</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function cacheToBitmap(bitmap:BitmapData, drawingLayer:Sprite):void</code><p></p><p></p><p>
       The <code>cacheToBitmap</code> method will write the drawing layer to the cavnas bitmap.
              </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0