This handle represents a Point on the Map and can be visualized using an icon.
More...
This handle represents a Point on the Map and can be visualized using an icon.
It can be moved around, or react to mouse events. The handle executes IPointEditAction, based on mouse input events. IEditHandles implementations configure concrete IPointEditAction implementations on this handle to make sure they result in geometry or feature changes. For example, when this handle is dragged around on the Map, an IEditHandles implementation for polylines can make sure that the second point of the polyline is moved. This class supports the following gestures:
drag events click events mouse move events
This handle is painted using an icon at its current location. 2020.1
- Warning
- C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PointEditHandle.
Handles the given event, and returns if the event was consumed or not.
While handling events, IEditHandles can mark themselves as highlighted or as Active. Related to event handling, the main effect of this is that highlighted or active handles get a higher priority compared to other handles: they get the chance to consume events first. See EditHandleState
inputEvent
the event to handle, cannot be nullptr
context
the context, cannot be nullptr
if the event was consumed or not
NullArgumentException
when nullptr is passed.
- Warning
- C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::IEditHandle::onEvent.
Implements Luciad.Edit.Handles.IEditHandle.
Paints this handle on the given canvas.
This method is called when the handle's IEditHandles fires an EditHandlesEvent containing this handle, when the handle is newly added or removed for example. the handle triggers a new paint call itself by calling its invalidation callback.
This method only gets called on the UI thread, so there is no need for additional synchronization.
canvas
the canvas on which this handle gets painted.
context
the context, cannot be nullptr
- Warning
- C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::IEditHandle::paint.
Implements Luciad.Edit.Handles.IEditHandle.