(PHP 4 >= 4.0.7, PHP 5)
imagefttext — Escreve texto na imagem usando fontes FreeType 2
$image
, float $size
, float $angle
, int $x
, int $y
, int $col
, string $font_file
, string $text
[, array $extrainfo
] )Esta função não está documentada; somente a lista de argumentos está disponível.
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
size
angle
x
y
col
font_file
text
extrainfo
Esta função retorna um array contendo os seguintes elementos:
| 0 | coordenada x inferior à esquerda |
| 1 | coordenada y inferior à esquerda |
| 2 | coordenada x inferior à direita |
| 3 | coordenada y inferior à direita |
| 4 | coordenada x superior à direita |
| 5 | coordenada y superior à direita |
| 6 | coordenada x superior à esquerda |
| 7 | coordenada y superior à esquerda |
Nota: This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
Nota: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR )
| Versão | Descrição |
|---|---|
| 4.3.5 |
extrainfo tornou-se opcional.
|