略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Draw\Text\Layout::setColor

2025-02-27

UI\Draw\Text\Layout::setColor

(UI 0.9.9)

UI\Draw\Text\Layout::setColorSet Color

说明

public UI\Draw\Text\Layout::setColor(UI\Draw\Color $color, int $start = 0, int $end = ?)
public UI\Draw\Text\Layout::setColor(int $color, int $start = 0, int $end = ?)

Shall set the Color for all of, or a range of the text in the Layout

参数

color

The color to use

start

The starting character

end

The ending character, by default the end of the string

添加备注

用户贡献的备注

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

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

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