magickTextureImage method

Future<MagickWand?> magickTextureImage(
  1. MagickWand textureWand
)

MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.

This method runs inside an isolate different from the main isolate.

Don't forget to call destroyMagickWand on the returned MagickWand when done.

  • textureWand: the texture wand.

Implementation

Future<MagickWand?> magickTextureImage(MagickWand textureWand) async =>
    MagickWand._fromAddress(
      await _magickCompute(
        _magickTextureImage,
        _MagickTextureImageParams(
          _wandPtr.address,
          textureWand._wandPtr.address,
        ),
      ),
    );