setPoint method

void setPoint(
  1. {required int pointIndex,
  2. required ArcGISPoint point}
)

Replace a point in the mutable point collection at the specified point index.

Parameters:

  • pointIndex — Zero-based index of the point.
  • point — The point.

Implementation

void setPoint({required int pointIndex, required ArcGISPoint point}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_MutablePointCollection_setPoint(
        _handle, pointIndex, point._handle, errorHandler);
  });
}