selectGraphics method

void selectGraphics(
  1. {required List<Graphic> graphics}
)

Selects the specified graphics.

Any graphics that are not in the overlay will be ignored.

Parameters:

  • graphics — The graphics to be selected.

Implementation

void selectGraphics({required List<Graphic> graphics}) {
  final coreGraphics =
      graphics.toMutableArray(valueType: _ElementType.graphic);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GraphicsOverlay_selectGraphics(
        _handle, coreGraphics._handle, errorHandler);
  });
}