Interface

IntrinsicMeasurable

A part of the composition that can be measured.

Source set: Common
interface IntrinsicMeasurable

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

Properties

parentData

Source set: Common
val parentData: Any?

Data provided by the ParentDataModifier.

Functions

minIntrinsicWidth

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. There should be no side-effects from a call to minIntrinsicWidth.

maxIntrinsicWidth

fun maxIntrinsicWidth(height: Int): Int

Calculates the smallest width beyond which increasing the width never decreases the height. There should be no side-effects from a call to maxIntrinsicWidth.

minIntrinsicHeight

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. There should be no side-effects from a call to minIntrinsicHeight.

maxIntrinsicHeight

fun maxIntrinsicHeight(width: Int): Int

Calculates the smallest height beyond which increasing the height never decreases the width. There should be no side-effects from a call to maxIntrinsicHeight.

Last updated: