getPoints method

ImmutablePointCollection getPoints()

Returns all the points that are the vertexes of the part.

This is a copy of the points in the mutable part.

Return Value: The immutable collections of points.

Implementation

ImmutablePointCollection getPoints() {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_MutablePart_getPoints(
      _handle,
      errorHandler,
    );
  });
  return ImmutablePointCollection._fromHandle(
    objectHandle,
  )!;
}