PHP » GoLang |
login |
register |
about
|
GoLang imagefontheight
request it (394)
GoLang replacement for PHP's imagefontheight
[edit | history]
imagefontheight(PHP 4, PHP 5, PHP 7) imagefontheight — Get font height Description
int imagefontheight
( int
$font
)Returns the pixel height of a character in the specified font. Parameters
Return ValuesReturns the pixel height of the font. Examples
Example #1 Using imagefontheight() on built-in fonts
<?php The above example will output something similar to: Font height: 16 Example #2 Using imagefontheight() together with imageloadfont()
<?php The above example will output something similar to: Font height: 43 |
more
Recently updated
more
Most requested
more
Last requests
|