Callback</a></li>
    
    </ol>
  </div>

  <div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1><span class="kind-class">CanvasPattern</span> class </h1></div>

    <section class="desc markdown">
      <p>An opaque object representing a pattern of image, canvas, or video.</p>
<p>Created by calling <code>createPattern</code> on a <a href="../dart-html/CanvasRenderingContext2D-class.html">CanvasRenderingContext2D</a> object.</p>
<p>Example usage:</p>
<pre class="l