Gmagick::annotateimage
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Annotates an image with text
Description
Gmagick::annotateimage(GmagickDraw $GmagickDraw, float $x, float $y, float $angle, string $text): Gmagick
Annotates an image with text.
Parameters
GmagickDrawThe
GmagickDrawobject 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.
Return Values
The Gmagick object with annotation made.
Errors/Exceptions
Throw