(PECL gmagick >= Unknown)
Gmagick::annotateimage — Annotates an image with text
public Gmagick::annotateimage( GmagickDraw $GmagickDraw, float $x, float $y, float $angle, string $text ): Gmagick
Annotates an image with text.
GmagickDrawThe GmagickDraw object that contains settings for drawing the text.
xHorizontal offset in pixels to the left of text.
yVertical offset in pixels to the baseline of text.
angleThe angle at which to write the text.
textThe string to draw.
The Gmagick object with annotation made.
Throws an GmagickException on error.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.annotateimage.php