Class TranslateVertexInteraction

Class to translate a vertex. Will call the passed in vertex changed event with the changed vertex. Will modify the vertex in place

Hierarchy

Constructors

Methods

  • Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of EventType to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior

    Parameters

    • Optional active: number | boolean

    Returns void

Properties

_feature: Feature<Geometry>
_vertex: null | Vertex = null
active: number

The current active bitmask for EventType

id: string

A unique identifier for this interaction

modificationKey: ModificationKeyType

The current active ModificationKeyType

pointerKey: PointerKeyType

The currently active PointerKeyType

vertexChanged: VcsEvent<Vertex> = ...

Generated using TypeDoc