Class MultipartBuilder<T>
Base class for the geometry multipart builders.
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |