IntrinsicMeasurable

interface IntrinsicMeasurable
androidx.ui.core.IntrinsicMeasurable

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

Summary

Public methods

abstract IntPx

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

abstract IntPx

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

abstract IntPx

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

abstract IntPx

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

Properties

abstract Any?

Data provided by the ParentData

Public methods

maxIntrinsicHeight

abstract fun maxIntrinsicHeight(width: IntPx): IntPx

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

maxIntrinsicWidth

abstract fun maxIntrinsicWidth(height: IntPx): IntPx

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

minIntrinsicHeight

abstract fun minIntrinsicHeight(width: IntPx): IntPx

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

minIntrinsicWidth

abstract fun minIntrinsicWidth(height: IntPx): IntPx

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

Properties

parentData

abstract val parentData: Any?

Data provided by the ParentData