ElementLabel

@Serializable
data class ElementLabel(val kind: ElementKind, val name: String, val text: String? = null, val dx: Double = 0.0, val dy: Double = -12.0, val visible: Boolean = true, val valueDx: Double = 0.0, val valueDy: Double = 14.0, val valueVisible: Boolean = true)(source)

Per-element text overrides for the element identified by kind + name (10.8/C3, batch 4). An element has two independent text annotations: the name label (text retitles it; dx/dy offset it from the glyph in screen px; visible hides it) and the live value/state (e.g. a queue's count) with its own valueDx/valueDy/valueVisible. Either can be moved, retitled (the name), or hidden independently.

Constructors

Link copied to clipboard
constructor(kind: ElementKind, name: String, text: String? = null, dx: Double = 0.0, dy: Double = -12.0, visible: Boolean = true, valueDx: Double = 0.0, valueDy: Double = 14.0, valueVisible: Boolean = true)

Properties

Link copied to clipboard
val dx: Double
Link copied to clipboard
val dy: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val text: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard