The eight elements in the array returned by imagettfbox( ) : imagettfbbox « Graphics Image « PHP






The eight elements in the array returned by imagettfbox( )

 
0 Lower-left corner, X coordinate
 
1 Lower-left corner, Y coordinate
 
2 Lower-right corner, X coordinate
 
3 Lower-right corner, Y coordinate
 
4 Upper-right corner, X coordinate
 
5 Upper-right corner, Y coordinate
 
6 Upper-left corner, X coordinate
 
7 Upper-left corner, Y coordinate
  
  








Related examples in the same category

1.Applying TrueType Fonts to an Image
2.Using the imagettfbbox() Function