Resource Layout Element
@Serializable
Where to draw a resource and the colors for its states. Keyed by resourceName. Each state may also carry an optional image (idleImage/busyImage/failedImage/inactiveImage); when present the renderer draws the image for that state and the matching color is the fallback (10.7).
Constructors
Link copied to clipboard
constructor(resourceName: String, position: LayoutPoint, size: Double = 20.0, idleColor: String = "#2ca02c", busyColor: String = "#d62728", failedColor: String = "#7f7f7f", inactiveColor: String = "#cccccc", idleImage: String? = null, busyImage: String? = null, failedImage: String? = null, inactiveImage: String? = null, showValue: Boolean = false)