interactionElement property

GeometryEditorElement get interactionElement

The GeometryEditorElement that is being interacted with or created.

When creating a new element, the GeometryEditorInteractionPreview.interactionElement will be the new element being created.

For example, when creating a new GeometryEditorVertex the interaction element will be a GeometryEditorVertex with the position of the vertex being created. When moving, scaling or rotating an existing element, the GeometryEditorInteractionPreview.interactionElement will be the existing element being modified. For example, when scaling a GeometryEditorPart the interaction element will be the GeometryEditorPart being scaled with the geometry of the part being updated as the scaling occurs. Similarly, when moving a GeometryEditorGeometry the interaction element will be the GeometryEditorGeometry that is being moved which has the updated geometry as the movement occurs.

The interaction element is returned in the same SpatialReference as the associated ArcGISMapViewController. If the spatial reference of the preview geometry is null and the map view has null spatial reference, then the spatial reference of the interaction element will be null.