Class

MultiParagraphIntrinsics

Calculates and provides the intrinsic width of text that contains ParagraphStyle.

Source set: Common
public class MultiParagraphIntrinsics internal constructor(
    /** The text to be laid out. */
    public val annotatedString: AnnotatedString,
    /**
     * A list of [Placeholder]s that specify ranges of text which will be skipped during layout and
     * replaced with [Placeholder].
     */
    public val placeholders: List<AnnotatedString.Range<Placeholder>>,
    internal val infoList: List<ParagraphIntrinsicInfo>,
) : ParagraphIntrinsics

Calculates and provides the intrinsic width of text that contains ParagraphStyle.

Properties

minIntrinsicWidth

Source set: Common
public override val minIntrinsicWidth: Float

maxIntrinsicWidth

Source set: Common
public override val maxIntrinsicWidth: Float

hasStaleResolvedFonts

Source set: Common
public override val hasStaleResolvedFonts: Boolean
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: