magickSetImageGravity method

bool magickSetImageGravity(
  1. GravityType gravity
)

MagickSetImageGravity() sets the image gravity type.

  • gravity: the image gravity type.

Implementation

bool magickSetImageGravity(GravityType gravity) =>
    _magickWandBindings.MagickSetImageGravity(
      _wandPtr,
      gravity.value,
    ).toBool();