GeometryEditorGeometry QML Type

GeometryEditor representing the entire GeometryEditor::geometry."> GeometryEditorGeometry QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • GeometryEditorGeometry
  • The element in a GeometryEditor representing the entire GeometryEditor::geometry. More...

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



    Detailed Description

    A GeometryEditorGeometry represents the entire geometry in a GeometryEditor - it displays the existing location and shape of the geometry, and allows you to select and move the entire geometry in interactive workflows. For more information about selecting and working with selections, see GeometryEditor.

    When a entire geometry is selected (displayed with a selection halo), a GeometryEditorGeometry is returned from GeometryEditor::selectedElement, except if the GeometryEditor::geometry is a Point, in which case a GeometryEditorVertex is returned instead.

    Select the entire geometry programmatically using GeometryEditor::selectGeometry. To prevent whole geometries from being selected interactively while still allowing programmatic selection, set InteractionConfiguration::allowGeometrySelection to false.

    Use GeometryEditorStyle::lineSymbol and GeometryEditorStyle::fillSymbol to change the appearance of polygons and polylines displayed by a GeometryEditor. You may also wish to control the appearance of a geometry during interactive edits by using GeometryEditorStyle::feedbackLineSymbol and GeometryEditorStyle::feedbackVertexSymbol.

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

    Property Documentation

    [read-only] geometry : Geometry

    The entire geometry in the SpatialReference of the associated MapView, if one is set (read-only).

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