GD Funkcje
PHP Manual

imagefontwidth

(PHP 4, PHP 5)

imagefontwidthGet font width

Opis

int imagefontwidth ( int $font )

Returns the pixel width of a character in 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 width of the pixel

Patrz także


GD Funkcje
PHP Manual