mattinger
05/06/2025, 3:48 PMSergey Y.
05/06/2025, 3:54 PMmattinger
05/06/2025, 4:13 PMSergey Y.
05/06/2025, 4:20 PMsindrenm
05/07/2025, 7:31 AM// draw the graphics layer on the visible canvas
drawLayer(graphicsLayer)
sindrenm
05/07/2025, 7:32 AM.drawWithContent {
// call record to capture the content in the graphics layer
graphicsLayer.record {
// draw the contents of the composable into the graphics layer
this@drawWithContent.drawContent()
}
// draw the graphics layer on the visible canvas
drawLayer(graphicsLayer)
}
do
.drawWithContent {
// call record to capture the content in the graphics layer
graphicsLayer.record {
// draw the contents of the composable into the graphics layer
this@drawWithContent.drawContent()
}
}