php / 8.1.5 / gmagickdraw.annotate.html /

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.

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