magickRollImage method
MagickRollImage() offsets an image as defined by x and y.
This method runs inside an isolate different from the main isolate.
x
: the x offset.y
: the y offset.
Implementation
Future<bool> magickRollImage({
required int x,
required int y,
}) async =>
await _magickCompute(
_magickRollImage,
_MagickRollImageParams(
_wandPtr.address,
x,
y,
),
);