setBackgroundImagePosition method

  1. @JSExport()
JSPromise<JSAny?> setBackgroundImagePosition(
  1. double x,
  2. double y, {
  3. bool clamp = false,
})

Implementation

@JSExport()
JSPromise setBackgroundImagePosition(double x, double y,
        {bool clamp = false}) =>
    viewer.setBackgroundImagePosition(x, y, clamp: clamp).toJS;