Base Type: Polycurve

Derived Types: PolylineB, PolylineN

An abstract class that serves as a base to its derived types, representing a collection of one or many paths.


The paths do not have to be connected to each other. A polyline can be defined either as a PointCollection, SegmentCollection, or GeometryCollection. Each collection type allows the user to access and manipulate different aspects of the polyline geometry.

To define a polyline containing many disjoint paths, the polyline must be defined as a GeometryCollection to which preconstructed path geometries are added. Adding segments to a polyline defined as a SegmentCollection, or points to a polyline defined as a PointCollection, assumes that the polyline is a single path of connected segments.

Polylines with various paths