# styleGraphicsLayer

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleGraphicsLayer.modifier#(androidx.compose.ui.Modifier).styleGraphicsLayer(androidx.compose.foundation.style.StyleResolver)(styleResolver: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver)` Transitionary modifier. | Cmn |

## Functions

### Modifier.styleGraphicsLayer

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StyleGraphicsLayerModifier.kt+function:styleGraphicsLayer) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Modifier.styleGraphicsLayer(styleResolver: StyleResolver): Modifier
```

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

This modifier is to help enable transition between the old `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` based API and the new `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyle` based API. This duplicates the graphics layer behavior of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/LayerStyleScope` in a `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style`.