extent property

Envelope extent

The minimum enclosing bounding-box (or Envelope) that covers the geometry.

Implementation

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