略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Draw\Text\Font\Descriptor

2024-11-15

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 noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.ui-draw-text-font-descriptor.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3