StorageLayoutElement

@Serializable
data class StorageLayoutElement(val suspensionName: String, val position: LayoutPoint, val style: StorageStyle = StorageStyle.PROGRESS_BELT, val width: Double = 160.0, val height: Double = 48.0, val growthDegrees: Double = 0.0, val spacing: Double = 14.0, val capacity: Int = 0, val maxShown: Int = 30, val byType: Boolean = true, val label: String? = null)(source)

A holding area showing the entities currently in a named delay (8K.4). suspensionName matches a delay's suspensionName; when a delay is unnamed the renderer keys it by the entity's type name (a stable, shared default), so a storage can bind to either. position anchors the element (entry of the belt / corner of the box); style chooses the arrangement. Beyond maxShown members the element degrades to a count badge + capacity gauge (driven by capacity; 0 = unbounded).

Constructors

Link copied to clipboard
constructor(suspensionName: String, position: LayoutPoint, style: StorageStyle = StorageStyle.PROGRESS_BELT, width: Double = 160.0, height: Double = 48.0, growthDegrees: Double = 0.0, spacing: Double = 14.0, capacity: Int = 0, maxShown: Int = 30, byType: Boolean = true, label: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard