# invalidateRulers

> Recalculates the [Ruler][androidx.compose.ui.layout.Ruler] values this node provides, without remeasuring or re-placing the node.

## Code Examples

### InvalidateRulersSample

```kotlin
@Sampled
fun InvalidateRulersSample() {
    val ContentBottomRuler = HorizontalRuler()

    // Provides ContentBottomRuler at bottomInset pixels above the bottom of the layout.
    class ContentBottomRulerNode(var bottomInset: Int) : Modifier.Node(), LayoutModifierNode {
```
