update : 2015.11.03
php.shukuma.com검색:
|
imageftbbox(PHP 4 >= 4.0.7, PHP 5, PHP 7) imageftbbox — Give the bounding box of a text using fonts via freetype2 설명
array imageftbbox
( float
$size
, float $angle
, string $fontfile
, string $text
[, array $extrainfo
] )This function calculates and returns the bounding box in pixels for a FreeType text. 인수
반환값imageftbbox() returns an array with 8 elements representing four points making the bounding box of the text:
The points are relative to the text regardless of the
예제
Example #1 imageftbbox() example
<?php 주의
|