Source set: Common
abstract class DragToResizeState private constructor() : DraggableState
A state object that can be used to control the resizing behavior of a pane.
This class provides a way to track the current size of a resizable pane and to handle drag interactions that modify the size. It supports both horizontal and vertical resizing.
This state object is primarily designed for internal use within pane scaffolds.
Functions
drag
Source set: Common
override suspend fun drag(dragPriority: MutatePriority, block: suspend DragScope.() -> Unit) =
coroutineScope {
dragMutex.mutateWith(dragScope, dragPriority, block)
}
dispatchRawDelta
Source set: Common
override fun dispatchRawDelta(delta: Float)
Members
Companion
Source set: Common
companion object