Compose Modifier

layoutBounds

This will map the RelativeLayoutBounds of the modifier into the provided LayoutBoundsHolder.

layoutBounds

Source set: Common
public fun Modifier.layoutBounds(holder: LayoutBoundsHolder): Modifier

This will map the RelativeLayoutBounds of the modifier into the provided LayoutBoundsHolder. A given instance of LayoutBoundsHolder should not be passed into more than one of these modifiers.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: