<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
sealed interface CacheDrawModifierNode : DrawModifierNode
```


Expands on the `androidx.compose.ui.node.DrawModifierNode` by adding the ability to invalidate
the draw cache for changes in things like shapes and bitmaps (see Modifier.border for a usage
examples).


## Functions



<h2 id="invalidatedrawcache">invalidateDrawCache</h2>

```kotlin
fun invalidateDrawCache()
```