selectGraphics method

void selectGraphics(
  1. 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(
  List<Graphic> graphics,
) {
  final coreGraphics = graphics.toMutableArray(
    valueType: _ElementType.graphic,
  );
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GraphicsOverlay_selectGraphics(
      _handle,
      coreGraphics._handle,
      errorHandler,
    );
  });
}