International PHP Conference Berlin 2025

Font Descriptor

(UI 0.9.9)

简介

Describes a font

类摘要

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
)
/* 方法 */
public getFamily(): string
public getItalic(): int
public getSize(): float
public getStretch(): int
public getWeight(): int
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top