Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

getBoundsInRoot

Returns the bounds of the layout of this node as clipped to the root.

getBoundsInRoot

Source set: Common
fun SemanticsNodeInteraction.getBoundsInRoot(): DpRect

Returns the bounds of the layout of this node as clipped to the root. The bounds are relative to the root composable.

Last updated: