ExistingVertex

data class ExistingVertex(val vertexId: VertexId, val origin: GeoPosition, val span: VertexSpan? = null) : DrawMode.Edit.ActiveDrag

vertexId (an existing vertex) is being repositioned. origin is fixed at the position the drag started from — the "old" position for the single com.tcsappdev.worldwinddraw.core.history.commands.MoveVertexCommand that gets recorded once the gesture finishes (see DrawEngineReducer).

Constructors

Link copied to clipboard
constructor(vertexId: VertexId, origin: GeoPosition, span: VertexSpan? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Set when the hidden vertices next to this one move with it (see VertexSpan); null for a plain one-vertex drag.

Link copied to clipboard