abstract class Placeable


A Placeable corresponds to a child layout that can be positioned by its parent layout. Most Placeables are the result of a Measurable.measure call.

Based on androidx.compose.ui.layout.Placeable.

Summary

Nested types

Receiver scope that permits explicit placement of a Placeable.

Public constructors

Protected functions

abstract Unit
placeAt(pose: Pose)

Positions the Placeable at position in its parent's coordinate system.

Public properties

Int

The measured depth of the layout, in pixels.

Int

The measured height of the layout, in pixels.

Int

The measured width of the layout, in pixels.

Public constructors

Placeable

Added in 1.0.0-alpha01
Placeable()

Protected functions

placeAt

Added in 1.0.0-alpha01
protected abstract fun placeAt(pose: Pose): Unit

Positions the Placeable at position in its parent's coordinate system.

Public properties

measuredDepth

Added in 1.0.0-alpha01
var measuredDepthInt

The measured depth of the layout, in pixels.

measuredHeight

Added in 1.0.0-alpha01
var measuredHeightInt

The measured height of the layout, in pixels.

measuredWidth

Added in 1.0.0-alpha01
var measuredWidthInt

The measured width of the layout, in pixels.