Compose API Reference Compose UI boundsInParent Function Common fun LayoutCoordinates.boundsInParent(): Rect Returns the bounding box of the child in the parent's content area, including any clipping done with respect to the parent. For the root, the bounds is positioned at (0, 0) and sized to the size of the root.
Compose API Reference Compose UI boundsInParent Function Common fun LayoutCoordinates.boundsInParent(): Rect Returns the bounding box of the child in the parent's content area, including any clipping done with respect to the parent. For the root, the bounds is positioned at (0, 0) and sized to the size of the root.