Movable Resource Layout Element
@Serializable
A movable/transport resource drawn as a glyph at its interpolated position while moving (8K.5). When at rest it is drawn at the layout position of its homeBase station when known (so the editor preview matches what the replay shows for a coordinate-free spatial model such as a DistancesModel), otherwise at its optional position (home/parked anchor; null ⇒ only shown while moving). busyColor/busyImage style it while transporting, idleImage when at rest/empty (10.8/C4). Keyed by name.
Constructors
Link copied to clipboard
constructor(name: String, shape: LayoutShape = LayoutShape.SQUARE, color: String = "#8c564b", size: Double = 16.0, imageRef: String? = null, label: String? = null, position: LayoutPoint? = null, busyColor: String? = null, idleImage: String? = null, busyImage: String? = null, homeBase: String? = null)