Show / Hide Table of Contents

Class MultipartBuilder<T>

Builder for creating and modifying geometries made up of multiple parts, such as Polyline and Polygon.

Inheritance
System.Object
GeometryBuilder<T>
MultipartBuilder<T>
PolygonBuilder
PolylineBuilder
GeometryBuilder<T>.SpatialReference
GeometryBuilder<T>.Extent
GeometryBuilder<T>.HasM
GeometryBuilder<T>.HasZ
GeometryBuilder<T>.IsEmpty
GeometryBuilder<T>.IsSketchValid
GeometryBuilder<T>.HasCurves
GeometryBuilder<T>.ToGeometry()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class MultipartBuilder<T> : GeometryBuilder<T> where T : Multipart
Type Parameters
Name Description
T

Geometry type

Remarks

This is a base class for the geometry multipart builders, such as PolylineBuilder or PolygonBuilder.

Properties

Name Description
Parts

Gets the collection of parts for the multipart builder.

Methods

Name Description
AddPart(IEnumerable<MapPoint>)

Adds a new part consisting of the given points to this polygon builder.

AddPart(IEnumerable<Segment>)

Adds a new part to this polygon builder.

AddParts(IEnumerable<IEnumerable<Segment>>)

Adds new parts to this polygon builder.

AddPoint(MapPoint)

Adds a new point to the end of the last part of the multipart.

AddPoint(Double, Double)

Adds a new point to the end of the last part of the multipart.

AddPoint(Double, Double, Double)

Adds a new point to the end of the last part of the multipart.

AddPoints(IEnumerable<MapPoint>)

Adds a list of new points to the end of the last part of the multipart.

ReplaceGeometry(T)

Replace the geometry currently stored in the geometry builder to the new geometry.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.