Skip To Content ArcGIS for Developers Sign In Dashboard

Multipart QML Type

Base type for types that represent a geometry composed of a collection of Parts. More...

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


Inherited By:

Polygon and Polyline


  • 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

See also JsonSerializable.

Property Documentation

The parts of the Multipart.

Feedback on this topic?