Multipart QML Type

Parts."> Multipart QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • Multipart
  • Base type for types that represent a geometry composed of a collection of Parts. More...

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

    Geometry

    Inherited By:

    Polygon and Polyline

    Properties

    • parts : ImmutablePartCollection

    Detailed Description

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

    Multipart geometry is a collection of shapes (of the same type) that is managed as a single geometry. A classic example is a group of islands that represent a single country or state. The individual island shapes are distinct, but ArcGIS considers it a single geometry.

    Multipart is an abstract class from which Polygon and Polyline inherit, and Multipart inherits from Geometry. Multipart provides access to the geometry's ImmutablePartCollection. Each ImmutablePart in the collection is a collection of Segment objects. You can iterate through the segments or points in each part.

    In the same way that Polygon and Polyline are immutable, their multipart collections are also immutable: ImmutablePartCollection, ImmutablePart, and ImmutablePointCollection. However, when creating polygons and polylines, use the mutable equivalents: PartCollection, Part, and PointCollection.

    This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

    TypeDefault Property
    SpatialReferencespatialReference

    See also JsonSerializable.

    Property Documentation

    [read-only] parts : ImmutablePartCollection

    The parts of the Multipart.


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