Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

IntrinsicMeasureScope

abstract class IntrinsicMeasureScope : Density
kotlin.Any
   ↳ androidx.ui.core.IntrinsicMeasureScope

The receiver scope of a layout's intrinsic measurements lambdas.

Summary

Public constructors

The receiver scope of a layout's intrinsic measurements lambdas.

Public methods
Int

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

Int

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

Int

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

Int

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

Inherited functions
Inherited extension functions
From androidx.ui.layout
Constraints

Creates the Constraints corresponding to the current DpConstraints.

DpConstraints

Creates the DpConstraints corresponding to the current Constraints.

Properties
abstract LayoutDirection

The LayoutDirection of the Layout or LayoutModifier2 using the measure scope to measure their children.

Inherited properties

Public constructors

<init>

IntrinsicMeasureScope()

The receiver scope of a layout's intrinsic measurements lambdas.

Public methods

maxIntrinsicHeight

fun IntrinsicMeasurable.maxIntrinsicHeight(width: Int): Int

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

maxIntrinsicWidth

fun IntrinsicMeasurable.maxIntrinsicWidth(height: Int): Int

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

minIntrinsicHeight

fun IntrinsicMeasurable.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 IntrinsicMeasurable.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

layoutDirection

abstract val layoutDirection: LayoutDirection

The LayoutDirection of the Layout or LayoutModifier2 using the measure scope to measure their children.