removePoint method

void removePoint({
  1. required int pointIndex,
})

Removes a point from the mutable point collection.

Parameters:

  • pointIndex — Zero-based index of the point.

Implementation

void removePoint({
  required int pointIndex,
}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_MutablePointCollection_removePoint(
      _handle,
      pointIndex,
      errorHandler,
    );
  });
}