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

getUnclippedBoundsInRoot

Returns the bounds of the layout of this node.

getUnclippedBoundsInRoot

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

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

Last updated: