Gmagick::annotateimage

(PECL gmagick >= Unknown)

Gmagick::annotateimageAnnote une image avec du texte

Description

public Gmagick::annotateimage(
    GmagickDraw $GmagickDraw,
    float $x,
    float $y,
    float $angle,
    string $text
): Gmagick

Annote une image avec du texte.

Liste de paramètres

GmagickDraw

L'objet GmagickDraw contenant la configuration afin de dessiner le texte

x

Position horizontale, en pixels, du bord gauche du texte

y

Position verticale, en pixels, du bas du texte

angle

L'angle utilisé pour écrire le texte

text

Le texte à dessiner

Valeurs de retour

L'objet Gmagick contenant l'annotation.

Erreurs / Exceptions

Émet une exception GmagickException en cas d'erreur.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top