magickClipImagePath method

Future<bool> magickClipImagePath({
  1. required String pathName,
  2. required bool inside,
})

Clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.

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

  • pathName : name of clipping path resource. If name is preceded by #, use clipping path numbered by name.
  • inside : if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.

Implementation

Future<bool> magickClipImagePath(
        {required String pathName, required bool inside}) async =>
    await _magickCompute(
      _magickClipImagePath,
      _MagickClipImagePathParams(_wandPtr.address, pathName, inside),
    );