Show / Hide Table of Contents

Class PolylineBuilder

Builder for creating Polyline.

Inheritance
Object
GeometryBuilder<Polyline>
MultipartBuilder<Polyline>
PolylineBuilder
MultipartBuilder<Polyline>.Parts
MultipartBuilder<Polyline>.AddPoint(MapPoint)
MultipartBuilder<Polyline>.AddPoint(Double, Double)
MultipartBuilder<Polyline>.AddPoint(Double, Double, Double)
MultipartBuilder<Polyline>.AddPoints(IEnumerable<MapPoint>)
MultipartBuilder<Polyline>.AddPart(IEnumerable<MapPoint>)
MultipartBuilder<Polyline>.AddPart(IEnumerable<Segment>)
MultipartBuilder<Polyline>.AddParts(IEnumerable<IEnumerable<Segment>>)
MultipartBuilder<Polyline>.ReplaceGeometry(Polyline)
GeometryBuilder<Polyline>.SpatialReference
GeometryBuilder<Polyline>.Extent
GeometryBuilder<Polyline>.HasM
GeometryBuilder<Polyline>.HasZ
GeometryBuilder<Polyline>.IsEmpty
GeometryBuilder<Polyline>.IsSketchValid
GeometryBuilder<Polyline>.HasCurves
GeometryBuilder<Polyline>.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 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

TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14

Relevant samples

Show location history: Display your location history on the map.
In This Article
Back to top Copyright © 2021 Esri.