magickSpliceImage method
MagickSpliceImage() splices a solid color into the image.
This method runs inside an isolate different from the main isolate.
width
: the region width.height
: the region height.x
: the region x offset.y
: the region y offset.
Implementation
Future<bool> magickSpliceImage({
required int width,
required int height,
required int x,
required int y,
}) async =>
await _magickCompute(
_magickSpliceImage,
_MagickSpliceImageParams(
_wandPtr.address,
width,
height,
x,
y,
),
);