Skip To Content ArcGIS for Developers Sign In Dashboard

MultipartBuilder QML Type

Base type for builders of geometries that consist of multiple parts, such as Polyline and Polygon. More...

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

GeometryBuilder

Inherited By:

PolygonBuilder and PolylineBuilder

Properties

Signals

Methods

Detailed Description

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

The coordinates of points added must be in the spatial reference of this MultipartBuilder.

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.

Property Documentation

parts : PartCollection

The part collection that this builder is constructing or modifying.


Signal Documentation

partsChanged()

Emitted when the parts property changes.


Method Documentation

int addPoint(Point point)

Adds the Point point to the Multipart.

Returns the index of the added point or -1 on error.


int addPointXY(double x, double y)

Adds a point with coordinates x and y.

Returns the index of the added point or -1 on error.


int addPointXYZ(double x, double y, double z)

Adds a point with coordinates x, y and z.

Returns the index of the added point or -1 on error.


void addPoints(list<Point> points)

Adds a list of points to the Multipart.

This QML method was introduced in Esri.ArcGISRuntime 100.1.



Feedback on this topic?