imagettfbbox <<< |
imagettftext | imagetypes >>> |
6.14 Images 6 Référence des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Types de ressources . Constantes pré-définies . Exemples . gd_info . getimagesize . image_type_to_extension . image_type_to_mime_type . image2wbmp . imagealphablending . imageantialias . imagearc . imagechar . imagecharup . imagecolorallocate . imagecolorallocatealpha . imagecolorat . imagecolorclosest . imagecolorclosestalpha . imagecolorclosesthwb . imagecolordeallocate . imagecolorexact . imagecolorexactalpha . imagecolormatch . imagecolorresolve . imagecolorresolvealpha . imagecolorset . imagecolorsforindex . imagecolorstotal . imagecolortransparent . imageconvolution . imagecopy . imagecopymerge . imagecopymergegray . imagecopyresampled . imagecopyresized . imagecreate . imagecreatefromgd . imagecreatefromgd2 . imagecreatefromgd2part . imagecreatefromgif . imagecreatefromjpeg . imagecreatefrompng . imagecreatefromstring . imagecreatefromwbmp . imagecreatefromxbm . imagecreatefromxpm . imagecreatetruecolor . imagedashedline . imagedestroy . imageellipse . imagefill . imagefilledarc . imagefilledellipse . imagefilledpolygon . imagefilledrectangle . imagefilltoborder . imagefilter . imagefontheight . imagefontwidth . imageftbbox . imagefttext . imagegammacorrect . imagegd . imagegd2 . imagegif . imageinterlace . imageistruecolor . imagejpeg . imagelayereffect . imageline . imageloadfont . imagepalettecopy . imagepng . imagepolygon . imagepsbbox . imagepscopyfont . imagepsencodefont . imagepsextendfont . imagepsfreefont . imagepsloadfont . imagepsslantfont . imagepstext . imagerectangle . imagerotate . imagesavealpha . imagesetbrush . imagesetpixel . imagesetstyle . imagesetthickness . imagesettile . imagestring . imagestringup . imagesx . imagesy . imagetruecolortopalette . imagettfbbox ->imagettftext . imagetypes . imagewbmp . imagexbm . iptcembed . iptcparse . jpeg2wbmp . png2wbmp |
6.14.101 imagettftext()Dessine un texte avec une police TrueType[ Exemples avec imagettftext ] PHP 3, PHP 4, PHP 5 array imagettftext ( resource image , float size , float angle , int x , int y , int color , string fontfile , string text )
imagettftext retourne un tableau de 8 éléments représentant quatre points marquants les limites du texte. L'ordre des points est : inférieur gauche, inférieur droit, supérieur droit, supérieur gauche. Les points sont relatifs au texte par rapport à l'angle, donc, "supérieur gauche" signifie dans le coin en haut à gauche lorsque vous regardez le texte horizontallement.
Cette fonction requiert la bibliothèque GD ainsi que la bibliothèque FreeType . Voir aussi imagettfbbox . |
<< | imagettftext | >> |
imagettfbbox | Images | imagetypes |