The Developer Preview for Android 11 is now available; test it out and share your feedback.

ParagraphIntrinsics

interface ParagraphIntrinsics
androidx.ui.text.ParagraphIntrinsics

Calculates and presents the intrinsic width and height of text.

Summary

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

abstract Float

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

abstract Float

The width for text if all soft wrap opportunities were taken.

Properties

maxIntrinsicWidth

abstract val maxIntrinsicWidth: Float

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

minIntrinsicWidth

abstract val minIntrinsicWidth: Float

The width for text if all soft wrap opportunities were taken.