androidx.compose.ui.layout
IntrinsicMeasurable
Interface · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
A part of the composition that can be measured. This represents a layout. The instance should never be stored.
interface IntrinsicMeasurable
Kinds of IntrinsicMeasurable
Anywhere a IntrinsicMeasurable is expected, you can pass any of these.
Measurableui
How to get one
Or create one of the kinds listed above.
Used by
Parameters that take a IntrinsicMeasurable.
LayoutModifier.maxIntrinsicHeight(measurable)LayoutModifier.maxIntrinsicWidth(measurable)LayoutModifier.minIntrinsicHeight(measurable)LayoutModifier.minIntrinsicWidth(measurable)LayoutModifierNode.maxIntrinsicHeight(measurable)LayoutModifierNode.maxIntrinsicWidth(measurable)LayoutModifierNode.minIntrinsicHeight(measurable)LayoutModifierNode.minIntrinsicWidth(measurable)
Properties
parentData
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.
Library docs
A part of the composition that can be measured. This represents a layout. The instance should never be stored.