Gmagick::annotateimage
(PECL gmagick >= Unknown)
Gmagick::annotateimage — Annotates an image with text
説明
public Gmagick Gmagick::annotateimage
( GmagickDraw
$GmagickDraw
, float $x
, float $y
, float $angle
, string $text
)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 をスローします。