getSelectedGraphics method

List<Graphic> getSelectedGraphics()

Returns a collection of all the selected graphics in the graphics overlay.

Return Value: A List of Graphic

Implementation

List<Graphic> getSelectedGraphics() {
  final arrayHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GraphicsOverlay_getSelectedGraphics(
      _handle,
      errorHandler,
    );
  });
  return arrayHandle.toList();
}