">rect</span>, </span> <span class="parameter" id="drawRect-param-paint"><span class="type-annotation"><a href="dart-ui/Paint-class.html">Paint</a></span> <span class="parameter-name">paint</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Draws a rectangle with the given <a href="dart-ui/Paint-class.html">Paint</a>. Whether the rectangle is filled
or stroked (or both) is controlled by <a href="dart-ui/Paint/style.html">P