Gmagick::annotateimage
(PECL gmagick >= Unknown)
Gmagick::annotateimage — Annote une image avec du texte
Description
public Gmagick Gmagick::annotateimage
( GmagickDraw
$GmagickDraw
, float $x
, float $y
, float $angle
, string $text
)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.
