getPoints method

ImmutablePointCollection getPoints()

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

Return Value: A collections of points in the immutable part.

Implementation

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