toPolyline method

Polyline toPolyline()

Creates a polyline with the values in the polygon builder.

Return Value: A polyline.

Implementation

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