PolylineBarrier constructor

PolylineBarrier(
  1. Polyline polyline
)

Creates a polyline barrier instance.

Creates a polyline barrier.

Parameters:

  • polyline — A polyline.

Implementation

factory PolylineBarrier(
  Polyline polyline,
) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PolylineBarrier_createWithPolyline(
      polyline._handle,
      errorHandler,
    );
  });
  return PolylineBarrier._withHandle(handle);
}