magickAnnotateImage method
Future<bool>
magickAnnotateImage({
- required DrawingWand drawingWand,
- required double x,
- required double y,
- required double angle,
- required String text,
Annotates an image with text. This method runs inside an isolate different from the main isolate.
x
: x ordinate to left of text.y
: y ordinate to text baseline.angle
: the text rotation angle.text
: the text to draw.
Implementation
Future<bool> magickAnnotateImage({
required DrawingWand drawingWand,
required double x,
required double y,
required double angle,
required String text,
}) async =>
await _magickCompute(
_magickAnnotateImage,
_MagickAnnotateImageParams(
_wandPtr.address,
drawingWand._wandPtr.address,
x,
y,
angle,
text,
),
);