对码当歌,猿生几何?
Toggle navigation
猿客奇谈
首页
PHP
Web前端
数据库
服务器
Unix编程
Shell
Java
C/C++
Python
大数据
AI
手册
其他
小工具
« UI\Draw\Text\Font::getUnderlineThickness
UI\Draw\Text\Font\Descriptor::__construct »
PHP Manual
UI
Font Descriptor
Font Descriptor
(PHP 7, UI 0.9.9)
简介
Describes a font
类摘要
UI\Draw\Text\Font\Descriptor
{
/* Constructor */
public
__construct
(
string
$family
,
float
$size
[,
int
$weight
= UI\Draw\Text\Font\Weight::Normal
[,
int
$italic
= UI\Draw\Text\Font\Italic::Normal
[,
int
$stretch
= UI\Draw\Text\Font\Stretch::Normal
]]] )
/* 方法 */
public
getFamily
(
void
) :
string
public
getItalic
(
void
) :
int
public
getSize
(
void
) :
float
public
getStretch
(
void
) :
int
public
getWeight
(
void
) :
int
}
Table of Contents
UI\Draw\Text\Font\Descriptor::__construct
— Construct a new Font Descriptor
UI\Draw\Text\Font\Descriptor::getFamily
— Get Font Family
UI\Draw\Text\Font\Descriptor::getItalic
— Style Detection
UI\Draw\Text\Font\Descriptor::getSize
— Size Detection
UI\Draw\Text\Font\Descriptor::getStretch
— Style Detection
UI\Draw\Text\Font\Descriptor::getWeight
— Weight Detection