Font Descriptor

Introduction

Describes a font

Class synopsis

UI\Draw\Text\Font\Descriptor
class 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
)
/* Methods */
public string getFamily()
public int getItalic()
public float getSize()
public int getStretch()
public int getWeight()
}
Table of Contents