Gmagick
PHP Manual

Gmagick::annotateimage

(PECL gmagick >= Unknown)

Gmagick::annotateimageAnnotates an image with text

Описание

public void Gmagick::annotateimage ( GmagickDraw $GmagickDraw , int $x , int $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.

Грешки/Изключения

Throws an GmagickException on error.


Gmagick
PHP Manual