magickShadowImage method
MagickShadowImage() simulates an image shadow.
alpha
: percentage transparency.sigma
: the standard deviation of the Gaussian, in pixels.x
: the shadow x-offset.y
: the shadow y-offset.
This method runs inside an isolate different from the main isolate.
Implementation
Future<bool> magickShadowImage({
required double alpha,
required double sigma,
required int x,
required int y,
}) async =>
await _magickCompute(
_magickShadowImage,
_MagickShadowImageParams(
_wandPtr.address,
alpha,
sigma,
x,
y,
),
);