略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: HaruFont::getUnicodeWidth

2024-12-22

HaruFont::getUnicodeWidth

(PECL haru >= 0.0.1)

HaruFont::getUnicodeWidthGet the width of the character in the font

说明

HaruFont::getUnicodeWidth ( int $character ) : int

Get the width of the character in the font.

参数

character

The code of the character.

返回值

Returns the width of the character in the font.

错误/异常

发生错误时抛出 HaruException 异常。

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/harufont.getunicodewidth.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3