setXY method

void setXY({
  1. required double xMin,
  2. required double yMin,
  3. required double xMax,
  4. required double yMax,
})

Set the x,y coordinates for the envelope.

Parameters:

  • xMin — The x minimum value for the envelope.
  • yMin — The y minimum value for the envelope.
  • xMax — The x maximum value for the envelope.
  • yMax — The y maximum value for the envelope.

Implementation

void setXY({
  required double xMin,
  required double yMin,
  required double xMax,
  required double yMax,
}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_EnvelopeBuilder_setXY(
      _handle,
      xMin,
      yMin,
      xMax,
      yMax,
      errorHandler,
    );
  });
}