IntrinsicMeasurable

Known direct subclasses
Measurable

A part of the composition that can be measured.


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

Summary

Public functions

Int

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

Cmn
Int

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

Cmn
Int

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

Cmn
Int

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

Cmn

Public properties

Any?

Data provided by the ParentDataModifier.

Cmn

Public functions

maxIntrinsicHeight

fun maxIntrinsicHeight(width: Int): Int

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

maxIntrinsicWidth

fun maxIntrinsicWidth(height: Int): Int

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

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.

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.

Public properties

parentData

val parentDataAny?

Data provided by the ParentDataModifier.