Google is committed to advancing racial equity for Black communities. See how.

Measured

inline class Measured
kotlin.Any
   ↳ androidx.ui.core.Measured

Read-only wrapper over Placeable that exposes the measurement result with no placing ability.

Summary

Public constructors
<init>(placeable: Placeable)

Read-only wrapper over Placeable that exposes the measurement result with no placing ability.

Public methods
operator Int
get(alignmentLine: AlignmentLine)

Returns the position of an alignment line, or null if the line is not provided.

Properties
Int

The measured height of the layout.

Int

The measured width of the layout.

Public constructors

<init>

Measured(placeable: Placeable)

Read-only wrapper over Placeable that exposes the measurement result with no placing ability.

Public methods

get

operator fun get(alignmentLine: AlignmentLine): Int

Returns the position of an alignment line, or null if the line is not provided.

Properties

height

val height: Int

The measured height of the layout.

width

val width: Int

The measured width of the layout.