对码当歌,猿生几何?
[登录]
[注册]
Toggle navigation
猿客奇谈
首页
PHP
Web前端
数据库
服务器
Unix编程
Shell
Java
C/C++
Python
大数据
AI
手册
其他
小工具
« UI\Draw\Text\Layout::setWidth
UI\Draw\Text\Font::__construct »
PHP Manual
UI
Represents a Font
Represents a Font
(PHP 7, UI 0.9.9)
简介
Loads a described font
类摘要
UI\Draw\Text\Font
{
/* Constructor */
public
__construct
(
UI\Draw\Text\Font\Descriptor
$descriptor
)
/* 方法 */
public
getAscent
(
void
) :
float
public
getDescent
(
void
) :
float
public
getLeading
(
void
) :
float
public
getUnderlinePosition
(
void
) :
float
public
getUnderlineThickness
(
void
) :
float
}
Table of Contents
UI\Draw\Text\Font::__construct
— Construct a new Font
UI\Draw\Text\Font::getAscent
— Font Metrics
UI\Draw\Text\Font::getDescent
— Font Metrics
UI\Draw\Text\Font::getLeading
— Font Metrics
UI\Draw\Text\Font::getUnderlinePosition
— Font Metrics
UI\Draw\Text\Font::getUnderlineThickness
— Font Metrics