offsetBy method

void offsetBy(
  1. {required double offsetX,
  2. required double offsetY}
)

Moves the builder's envelope geometry by the given offsets in the x and y dimension.

Parameters:

  • offsetX — The number of units to move the envelope on the x axis.
  • offsetY — The number of units to move the envelope on the y axis.

Implementation

void offsetBy({required double offsetX, required double offsetY}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_EnvelopeBuilder_offsetBy(
        _handle, offsetX, offsetY, errorHandler);
  });
}