Forum und email

imagefttext

(PHP 4 >= 4.0.7, PHP 5)

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

설명

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

This function is currently not documented; only the argument list is available.

매개변수

font

내장 글꼴 1, 2, 3, 4, 5(큰 숫자가 큰 글꼴)나 imageloadfont()로 등록한 글꼴 식별자를 사용할 수 있습니다.

size

angle

x

y

col

font_file

text

extrainfo

반환값

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.