rememberGraphicsLayer

Composable Function

Common
@Composable
@ComposableOpenTarget(-1)
fun rememberGraphicsLayer(): GraphicsLayer

Create a new GraphicsLayer instance that will automatically be released when the Composable is disposed.

Returns

a GraphicsLayer instance