🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

Measurable

A part of the composition that can be measured.

Source set: Common
public interface Measurable : IntrinsicMeasurable

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

Functions

measure

Source set: Common
public fun measure(constraints: Constraints): Placeable

Measures the layout with constraints, returning a Placeable layout that has its new size. A Measurable can only be measured once inside a layout pass.