|
imageftbboxGive the bounding box of a text using fonts via freetype2 Beschreibung
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. Parameter-Liste
Rückgabewerteimageftbbox 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
Beispiele
Beispiel #1 imageftbbox example
<?phpAnmerkungen
Siehe auch
|