Polyline
Constructs a Polyline with the given list of MutablePart.
The spatial reference of the polyline will be either the spatial reference of the first part or null if there are no parts.
Since
200.1.0
Parameters
mutable Parts
the parts with which to create the polyline. All parts must have the same spatial reference.
Constructs a Polyline with the given collection of Points.
If the spatial reference is null the spatial reference of the first point will be used, or null if there are no points.
Since
200.1.0
Parameters
points
the points with which to create the polyline. All points must have the same spatial reference.
spatial Reference
the spatial reference for the polyline, defaults to null.