positionOnScreen
Source set: Common
public fun LayoutCoordinates.positionOnScreen(): Offset
The position of this layout on the device's screen. Returns Offset.Unspecified if the conversion cannot be performed.
The position of this layout on the device's screen.
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Robomori
Run Android emulators and devices outside Android Studio.
public fun LayoutCoordinates.positionOnScreen(): Offset
The position of this layout on the device's screen. Returns Offset.Unspecified if the conversion cannot be performed.
Content updated: