drawLayer

Function

Common
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.