Show / Hide Table of Contents

Class MultipartBuilder<T>

Base class for the geometry multipart builders.

Inheritance
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()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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

Use the MultiPartBuilder Class to create and/or modify a base Geometry shape. The builder is best suited for editing workflows where the user may be adding, inserting or removing parts of a MultiPart geometry interactively. MultiParts are based upon the parent Geometry Class. The Geometry Class is immutable which means that you can not change its shape once it is created. Hence the MultiPartBuilder provides the way to make changes when working with a Geometry. Use the MultiPartBuilder.ToGeometry Method to get the base geometry from the builder.

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 in the builder to the new geometry.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0
In This Article
Back to top Copyright © 2022 Esri.