Google is committed to advancing racial equity for Black communities. See how.

IntrinsicMeasurable

interface IntrinsicMeasurable
androidx.compose.ui.layout.IntrinsicMeasurable

A part of the composition that can be measured. This represents a layout. The instance should never be stored.

Summary

Public methods
abstract Int

Calculates the smallest height beyond which increasing the height never decreases the width.

abstract Int

Calculates the smallest width beyond which increasing the width never decreases the height.

abstract Int

Calculates the minimum height that the layout can be such that the content of the layout will be painted correctly.

abstract Int

Calculates the minimum width that the layout can be such that the content of the layout will be painted correctly.

Properties
abstract Any?

Data provided by the ParentData

Public methods

maxIntrinsicHeight

abstract fun maxIntrinsicHeight(width: Int): Int

Calculates the smallest height beyond which increasing the height never decreases the width.

maxIntrinsicWidth

abstract fun maxIntrinsicWidth(height: Int): Int

Calculates the smallest width beyond which increasing the width never decreases the height.

minIntrinsicHeight

abstract fun minIntrinsicHeight(width: Int): Int

Calculates the minimum height that the layout can be such that the content of the layout will be painted correctly.

minIntrinsicWidth

abstract fun minIntrinsicWidth(height: Int): Int

Calculates the minimum width that the layout can be such that the content of the layout will be painted correctly.

Properties

parentData

abstract val parentData: Any?

Data provided by the ParentData