Class PolylineBuilder
Builder for creating and modifying Polyline geometries incrementally.
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class PolylineBuilder : MultipartBuilder<Polyline>
Remarks
Polyline geometries are immutable and cannot be changed directly once created. The polyline builder allows you to change the contents of the shape by using the mutable part collection that is accessible from the Parts property. Each Part in the collection comprises a collection of segments that make the Part. You can add or remove a Part from the part collection, or you can create or edit segment vertices of an existing Part. Use ToGeometry() to return the new Polyline from the builder.
Constructors
Name | Description |
---|---|
PolylineBuilder(Polyline) | Initializes a new instance of the PolylineBuilder class by copying the parts from the specified Polyline. |
PolylineBuilder(SpatialReference) | Initializes a new instance of the PolylineBuilder class with the specified SpatialReference. |
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 - 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 |