toPolyline method

Polyline toPolyline()

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

Return Value: A polyline.

Implementation

Polyline toPolyline() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Polygon_toPolyline(_handle, errorHandler);
  });
  return Polyline._fromHandle(objectHandle)!;
}