PHP Conference Fukuoka 2025

UI\Draw\Text\Font\Descriptor::__construct

(UI 0.9.9)

UI\Draw\Text\Font\Descriptor::__constructConstrói um novo descritor de fonte

Descrição

public UI\Draw\Text\Font\Descriptor::__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
)

Constrói um novo descritor de fonte.

Parâmetros

family

O nome de uma família de fontes válida.

size

A dimensão preferida da fonte.

weight

Constante de UI\Draw\Text\Font\Weight.

italic

Constante de UI\Draw\Text\Font\Italic.

stretch

Constante de UI\Draw\Text\Font\Stretch.

adicionar nota

Notas de Usuários

Não há notas de usuários para esta página.
To Top