Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\Draw\Text\Layout::setWidthUI\Draw\Text\Font::__construct>
^UILast updated: Mon, 26 Oct 2026

Represents a Font

(UI 0.9.9)

Introduction

Loads a described font

Class synopsis

class UI\Draw\Text\Font {
/* Constructor */
public function __construct(UI\Draw\Text\Font\Descriptor $descriptor)
/* Methods */
public function getAscent(): float
public function getDescent(): float
public function getLeading(): float
public function getUnderlinePosition(): float
public function getUnderlineThickness(): float
}

Table of Contents


<UI\Draw\Text\Layout::setWidthUI\Draw\Text\Font::__construct>
^UILast updated: Mon, 26 Oct 2026