php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::annotation

ImagickDraw::annotation

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Draws text on the image

Description

ImagickDraw::annotation(float $x, float $y, string $text): bool

Func

Draws text on the image.

Parameters

x

The x coordinate where text is drawn

y

The y coordinate where text is drawn

text

The text to draw on the image

Return Values

Void

Source: reference/imagick/imagickdraw/annotation.xml · from the official PHP manual (php/doc-en)