magickSetImageColor method

Future<bool> magickSetImageColor(
  1. PixelWand background
)

MagickSetImageColor() set the entire wand canvas to the specified color.

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

  • background: the image color.

Implementation

Future<bool> magickSetImageColor(PixelWand background) async =>
    await _magickCompute(
      _magickSetImageColor,
      _MagickSetImageColorParams(
        _wandPtr.address,
        background._wandPtr.address,
      ),
    );