|Import Statement:||import Esri.ArcGISRuntime 100.9|
- parts : ImmutablePartCollection
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.
See also JsonSerializable.
parts : ImmutablePartCollection
The parts of the Multipart.