Forum und email
imagefttext

imagefttext

(PHP 4 >= 4.1.0, PHP 5)

imagefttext -- Write text to the image using fonts using FreeType 2

Opis

array imagefttext ( resource image, float size, float angle, int x, int y, int col, string font_file, string text [, array extrainfo] )

Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Parametry

obraz

Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().

size

angle

x

y

col

font_file

text

extrainfo

Zwracane wartości

This function returns an array containing the following elements:

0lower left x-coordinate
1lower left y-coordinate
2upper right x-coordinate
3upper right y-coordinate

Notatki

Notatka: Ta funkcja wymaga GD 2.0.1 lub nowszej (2.0.28 lub nowsza jest zalecana).

Notatka: Ta funkcja jest dostępna tylko jeśli PHP zostało skompilowane ze wsparciem dla freetype (--with-freetype-dir=DIR)

Rejestr zmian

WersjaOpis
4.3.5 extrainfo was made optional.