(PECL gmagick >= Unknown)
Gmagick::annotateimage — Annotates an image with text
$GmagickDraw
, float $x
, float $y
, float $angle
, string $text
)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.
错误时抛出 GmagickException。