SubspacePlaceable

abstract class SubspacePlaceable


A SubspacePlaceable corresponds to a child layout that can be positioned by its parent layout. Most SubspacePlaceables are the result of a SubspaceMeasurable.measure call.

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

Summary

Nested types

Receiver scope that permits explicit placement of a SubspacePlaceable.

Public constructors

Protected functions

abstract Unit
placeAt(pose: Pose)

Positions the SubspacePlaceable at pose 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

SubspacePlaceable

Added in 1.0.0-alpha05
SubspacePlaceable()

Protected functions

placeAt

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

Positions the SubspacePlaceable at pose in its parent's coordinate system.

Public properties

measuredDepth

Added in 1.0.0-alpha05
var measuredDepthInt

The measured depth of the layout, in pixels.

measuredHeight

Added in 1.0.0-alpha05
var measuredHeightInt

The measured height of the layout, in pixels.

measuredWidth

Added in 1.0.0-alpha05
var measuredWidthInt

The measured width of the layout, in pixels.