Interface

Measured

A Measured corresponds to a layout that has been measured by its parent layout.

Source set: Common
interface Measured

A Measured corresponds to a layout that has been measured by its parent layout.

Properties

measuredWidth

Source set: Common
val measuredWidth: Int

The measured width of the layout. This might not respect the measurement constraints.

measuredHeight

Source set: Common
val measuredHeight: Int

The measured height of the layout. This might not respect the measurement constraints.

parentData

Source set: Common
val parentData: Any?

Data provided by the ParentDataModifier applied to the layout.

Functions

get

operator fun get(alignmentLine: AlignmentLine): Int

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

Last updated: