setXY method

void setXY({
  1. required double x,
  2. required double y,
})

Sets the x,y coordinates of a point.

Parameters:

  • x — The new x-coordinate value for the point.
  • y — The new y-coordinate value for the point.

Implementation

void setXY({
  required double x,
  required double y,
}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_PointBuilder_setXY(
      _handle,
      x,
      y,
      errorHandler,
    );
  });
}