PHP 8.4.0 RC4 available for testing

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
}

目次

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top