GuidedPathLayoutElement

@Serializable
data class GuidedPathLayoutElement(val spaceName: String, val offset: LayoutPoint = LayoutPoint(0.0, 0.0), val scale: Double = 1.0, val floorOffsetPerZ: LayoutPoint? = null, val linkColor: String = "#7f7f7f", val linkWidth: Double = 2.0, val showZones: Boolean = true, val showIntersections: Boolean = true, val closureColor: String = "#d62728", val label: String? = null)(source)

How a guide path is drawn (V13). Keyed by spaceName, the owning guide path space's unique name. The trace supplies the path's geometry; this places and styles it: offset and scale map the network's coordinates into the layout, floorOffsetPerZ separates floors by shifting each point by that vector times its height (so a multi-floor building does not draw its floors on top of each other), and the rest style links, zone ticks, intersections and closures. A network point (x, y, z) is drawn at offset + scale × (x, y) + z × floorOffsetPerZ.

Constructors

Link copied to clipboard
constructor(spaceName: String, offset: LayoutPoint = LayoutPoint(0.0, 0.0), scale: Double = 1.0, floorOffsetPerZ: LayoutPoint? = null, linkColor: String = "#7f7f7f", linkWidth: Double = 2.0, showZones: Boolean = true, showIntersections: Boolean = true, closureColor: String = "#d62728", 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