(PHP 4 >= 4.0.7, PHP 5)
imagefttext — Write text to the image using fonts using FreeType 2
此函式目前沒有參考文件;只有引數列表。
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
This function returns an array containing the following elements:
0 | lower left x-coordinate |
1 | lower left y-coordinate |
2 | lower right x-coordinate |
3 | lower right y-coordinate |
4 | upper right x-coordinate |
5 | upper right y-coordinate |
6 | upper left x-coordinate |
7 | upper left y-coordinate |
Note: 本函式需要 GD 2.0.1 或更高版本(推薦 2.0.28 及更高版本)。
Note: 本函式僅在 PHP 編譯時加入了 freetype 支援時可用(--with-freetype-dir=DIR)
版本 | 說明 |
---|---|
4.3.5 | extrainfo was made optional. |