magickPolaroidImage method
Future<bool>
magickPolaroidImage({
- required DrawingWand drawingWand,
- required double angle,
- required PixelInterpolateMethod method,
MagickPolaroidImage() simulates a Polaroid picture.
This method runs inside an isolate different from the main isolate.
drawingWand
: the draw wand.caption
: the Polaroid caption.angle
: Apply the effect along this angle.method
: the pixel interpolation method.
Implementation
Future<bool> magickPolaroidImage({
required DrawingWand drawingWand,
required String caption,
required double angle,
required PixelInterpolateMethod method,
}) async =>
await _magickCompute(
_magickPolaroidImage,
_MagickPolaroidImageParams(
_wandPtr.address,
drawingWand._wandPtr.address,
caption,
angle,
method,
),
);