W3cubDocs

/PHP

GmagickDraw::annotate

(PECL gmagick >= Unknown)

GmagickDraw::annotateDraws text on the image

Description

public GmagickDraw::annotate ( float $x , float $y , string $text ) : GmagickDraw

Draws text on the image.

Parameters

x

x ordinate to left of text

y

y ordinate to text baseline

text

text to draw

Return Values

The GmagickDraw object on success.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagickdraw.annotate.php