positionInParent
Source set: Common
public fun LayoutCoordinates.positionInParent(): Offset
Returns the position of the top-left in the parent's content area or (0, 0) for the root.
Returns the position of the top-left in the parent's content area or (0, 0) for the root.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
public fun LayoutCoordinates.positionInParent(): Offset
Returns the position of the top-left in the parent's content area or (0, 0) for the root.
Content updated: