Function

drawLayer

Draw the provided GraphicsLayer into the current DrawScope.

drawLayer

Source set: Common
public 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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: