LayoutCoordinatesAwareModifierNode

interface LayoutCoordinatesAwareModifierNode


A SubspaceModifier.Node whose onLayoutCoordinates callback is invoked when the layout coordinates of the layout node may have changed.

Summary

Public functions

Unit

Called with the final SubspaceLayoutCoordinates of the layout node after placement.

Public functions

onLayoutCoordinates

Added in 1.0.0-alpha02
fun onLayoutCoordinates(coordinates: SubspaceLayoutCoordinates): Unit

Called with the final SubspaceLayoutCoordinates of the layout node after placement. The coordinates value may or may not have changed since the last callback.