IntrinsicMeasurable
-
Cmn
interface IntrinsicMeasurable
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 |
maxIntrinsicHeight(width: Int)Calculates the smallest height beyond which increasing the height never decreases the width. |
Cmn
|
Int |
maxIntrinsicWidth(height: Int)Calculates the smallest width beyond which increasing the width never decreases the height. |
Cmn
|
Int |
minIntrinsicHeight(width: Int)Calculates the minimum height that the layout can be such that the content of the layout will be painted correctly. |
Cmn
|
Int |
minIntrinsicWidth(height: 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 |
Cmn
|
Public functions
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.
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.
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.