Gmagick::annotateimage

(PECL gmagick >= Unknown)

Gmagick::annotateimageAnnotates an image with text

说锟斤拷

public Gmagick::annotateimage ( 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锟斤拷