toPolyline method

Polyline toPolyline()

Creates a polyline containing paths for all the rings in this polygon.

Return Value: A polyline.