php[tek] 2018 : Call for Speakers

SWFText::setColor

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFText::setColorSets the current text color

说明

void SWFText::setColor ( int $red , int $green , int $blue [, int $a = 255 ] )
Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

Changes the current text color.

参数

These parameters are integers between 0 and 255 or hexadecimals between 0x00 and 0xFF:

red

Value of red component

green

Value of green component

blue

Value of blue component

a

Value of alpha component

返回值

没有返回值。

add a note add a note

User Contributed Notes

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