Class MultipartBuilder<T>
Builder for creating and modifying geometries made up of multiple parts, such as Polyline and Polygon.
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |