Function

getUnclippedBoundsInRoot

Returns the bounds of the layout of this node.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

getUnclippedBoundsInRoot

Common
fun SemanticsNodeInteraction.getUnclippedBoundsInRoot(): DpRect

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