Gmagick::annotateimage
(PECL gmagick >= Unknown)
Gmagick::annotateimage — Annotates an image with text
说明
public Gmagick::annotateimage(
GmagickDraw
float
float
float
string
): Gmagick
GmagickDraw
$GmagickDraw
,float
$x
,float
$y
,float
$angle
,string
$text
): Gmagick
Annotates an image with text.
参数
-
GmagickDraw
-
The GmagickDraw object that contains settings for drawing the text.
-
x
-
Horizontal offset in pixels to the left of text.
-
y
-
Vertical offset in pixels to the baseline of text.
-
angle
-
The angle at which to write the text.
-
text
-
The string to draw.
返回值
The Gmagick object with annotation made.
错误/异常
错误时抛出 GmagickException。

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/gmagick.annotateimage.php