GD Funkcje
PHP Manual

imagefontheight

(PHP 4, PHP 5)

imagefontheightGet font height

Opis

int imagefontheight ( int $font )

Returns the pixel height of a character in the specified font.

Parametry

czcionka

Może przyjąć 1, 2, 3, 4, 5 dla wbudowanych czcionek w kodowaniu latin2 (gdzie większy numer odpowiada większej czcionce) lub własny dowolny identyfikator czcionki zarejestrowany przez imageloadfont().

Zwracane wartości

Returns the height of the pixel.

Patrz także


GD Funkcje
PHP Manual