toolingGraphicsLayer

A [Modifier.Element] that adds a draw layer such that tooling can identify an element in the

toolingGraphicsLayer

Compose Modifier

Common
fun Modifier.toolingGraphicsLayer() =
    if (isDebugInspectorInfoEnabled) this.then(Modifier.graphicsLayer()) else this

A Modifier.Element that adds a draw layer such that tooling can identify an element in the drawn image.