? 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
float
getAscent
(
void
)
public
float
getDescent
(
void
)
public
float
getLeading
(
void
)
public
float
getUnderlinePosition
(
void
)
public
float
getUnderlineThickness
(
void
)
}
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
User Contributed Notes
There are no user contributed notes for this page.