<div class='type'>Function</div>


<a id='references'></a>


<h2 id="drawlayer-graphicslayer">drawLayer</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun DrawScope.drawLayer(graphicsLayer: GraphicsLayer)
```


Draw the provided `GraphicsLayer` into the current `DrawScope`. The `GraphicsLayer` provided must
have `GraphicsLayer.record` invoked on it otherwise no visual output will be seen in the rendered
result.