略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Draw\Text\Layout

2025-02-27

Represents Text Layout

(UI 0.9.9)

简介

A Text Layout represents the layout of text which will be drawn by the Pen

类摘要

class UI\Draw\Text\Layout {
/* Constructor */
public __construct(string $text, UI\Draw\Text\Font $font, float $width)
/* 方法 */
public setColor(UI\Draw\Color $color, int $start = 0, int $end = ?)
public setColor(int $color, int $start = 0, int $end = ?)
public setWidth(float $width)
}

目录

添加备注

用户贡献的备注

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

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

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