Skip to content

SlotGroup

@Serializable



data class SlotGroup(
    var pos: IntCoordinates = IntCoordinates(0, 0), 
    var size: IntSize = IntSize(0, 0), 
    var enabled: Boolean = true, 
    var layerDepth: Int = 0, 
    var slots: MutableSet<IntCoordinates> = mutableSetOf(), 
    var clip: IntRect? = null
)

Per-slot-group layout data reported back from the Compose layout to ComposeContainerMenuBase.

Stores the group's absolute screen position, dimensions, slot positions, and clip bounds.

Constructors

SlotGroup

constructor(
    pos: IntCoordinates = IntCoordinates(0, 0), 
    size: IntSize = IntSize(0, 0), 
    enabled: Boolean = true, 
    layerDepth: Int = 0, 
    slots: MutableSet<IntCoordinates> = mutableSetOf(), 
    clip: IntRect? = null
)

Properties

clip

var clip: IntRect?

enabled

layerDepth

pos

size

var size: IntSize

slots