Class PolylineBuilder
Builder for creating Polyline.
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class PolylineBuilder : MultipartBuilder<Polyline>
Remarks
Use the PolylineBuilder Class to create and/or modify a Polyline shape. The builder is best suited for editing workflows where the user may be adding, inserting or removing parts of a Polyline geometry interactively. Polylines 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 PolylineBuilder provides the way to make changes when working with a Polyline. Use the ToGeometry() Method to get the Polyline geometry from the builder.
Constructors
Name | Description |
---|---|
PolylineBuilder(Polyline) | Initializes a new instance of the PolylineBuilder class from a polyline. |
PolylineBuilder(SpatialReference) | Initializes a new instance of the PolylineBuilder class. |
PolylineBuilder(IEnumerable<MapPoint>, SpatialReference) | Initializes a new instance of the PolylineBuilder class. |
PolylineBuilder(IEnumerable<Segment>, SpatialReference) | Initializes a new instance of the PolylineBuilder class. |
PolylineBuilder(IEnumerable<IEnumerable<MapPoint>>, SpatialReference) | Initializes a new instance of the PolylineBuilder class. |
PolylineBuilder(IEnumerable<IEnumerable<Segment>>, SpatialReference) | Initializes a new instance of the PolylineBuilder class. |
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 |