extent property

Envelope extent

The extent of the selected element in the SpatialReference of the associated ArcGISMapViewController.

To find the specific shape of the selected element instead of its extent, use GeometryEditorGeometry.geometry, GeometryEditorMidVertex.point, GeometryEditorPart.part, or GeometryEditorVertex.point.

Implementation

Envelope get extent {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeometryEditorElement_getExtent(
      _handle,
      errorHandler,
    );
  });
  return Envelope._fromHandle(
    objectHandle,
  )!;
}