magickVignetteImage method
MagickVignetteImage() softens the edges of the image in vignette style.
This method runs inside an isolate different from the main isolate.
radius
: the radius.sigma
: the sigma.x
: Define the x ellipse offset.y
: Define the y ellipse offset.
Implementation
Future<bool> magickVignetteImage({
required double radius,
required double sigma,
required int x,
required int y,
}) async =>
await _magickCompute(
_magickVignetteImage,
_MagickVignetteImageParams(
_wandPtr.address,
radius,
sigma,
x,
y,
),
);