GeometryEditorElement QML Type

GeometryEditor."> GeometryEditorElement QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • GeometryEditorElement
  • The base class for all selectable elements in a GeometryEditor. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 200.1
    Inherits:

    Object

    Inherited By:

    GeometryEditorGeometry, GeometryEditorMidVertex, GeometryEditorPart, and GeometryEditorVertex

    Properties

    Detailed Description

    GeometryEditor::selectedElement returns an object that inherits from this base class, representing the specific type of element that is selected.

    Note: You cannot declare or create a component of this type in QML code.

    Property Documentation

    [read-only] canDelete : bool

    true if this element can be deleted interactively, false otherwise (read-only).

    The value of InteractionConfiguration::allowDeletingSelectedElement of the current GeometryEditor::tool determines this value. The element can be deleted programmatically regardless of this value, for example using GeometryEditor::deleteSelectedElement.

    A GeometryEditorMidVertex is not part of the GeometryEditor::geometry state, and therefore can never be deleted from the geometry regardless of the InteractionConfiguration settings.


    [read-only] canMove : bool

    true if this element can be moved interactively, false otherwise (read-only).

    The value of InteractionConfiguration::allowMovingSelectedElement of the current GeometryEditor::tool determines this value. The element can be moved programmatically regardless of this value, for example using GeometryEditor::moveSelectedElement(Point).

    A GeometryEditorMidVertex is not part of the GeometryEditor::geometry state, and therefore can never be moved regardless of the InteractionConfiguration settings.


    [read-only, since Esri.ArcGISRuntime 200.2] canRotate : bool

    true if this element can be rotated interactively, false otherwise (read-only).

    The value of InteractionConfiguration::allowRotatingSelectedElement of the current GeometryEditor::tool determines this value. The element can be rotated programmatically regardless of this value, for example using GeometryEditor::rotateSelectedElement(double, Point).

    The following can never be rotated interactively, regardless of the InteractionConfiguration settings:

    This property was introduced in Esri.ArcGISRuntime 200.2.


    [read-only, since Esri.ArcGISRuntime 200.2] canScale : bool

    true if this element can be scaled interactively, false otherwise (read-only).

    The value of InteractionConfiguration::allowScalingSelectedElement of the current GeometryEditor::tool determines this value. The element can be scaled programmatically regardless of this value, for example using GeometryEditor::scaleSelectedElement(double, double, Point).

    The following can never be scaled interactively, regardless of the InteractionConfiguration settings:

    This property was introduced in Esri.ArcGISRuntime 200.2.


    [read-only] extent : Envelope

    The extent of the selected element in the SpatialReference of the GeometryEditor::geometry (read-only).

    To find the specific shape of the selected element instead of its extent, use GeometryEditorGeometry::geometry, GeometryEditorMidVertex::point, GeometryEditorPart::part, or GeometryEditorVertex::point.


    [read-only] geometryEditorElementType : Enums.GeometryEditorElementType

    The type of GeometryEditor element (read-only).


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.