# Font Descriptor

(UI 0.9.9)

## 简介

Describes a font

## 类摘要

class UI\Draw\Text\Font\Descriptor {
/* Constructor */
public function __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 function getFamily(): string
public function getItalic(): int
public function getSize(): float
public function getStretch(): int
public function getWeight(): int
}

## 目录

- 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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open