magickSetImagePage method

bool magickSetImagePage({
  1. required int width,
  2. required int height,
  3. required int x,
  4. required int y,
})

MagickSetImagePage() sets the page geometry of the image.

  • width: the page width.
  • height: the page height.
  • x: the page x-offset.
  • y: the page y-offset.

Implementation

bool magickSetImagePage({
  required int width,
  required int height,
  required int x,
  required int y,
}) =>
    _magickWandBindings.MagickSetImagePage(
      _wandPtr,
      width,
      height,
      x,
      y,
    ).toBool();