SWFTextField
PHP Manual

SWFTextField::setColor

(PHP 4 >= 4.0.5)

SWFTextField::setColorSets the color of the text field

说明

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

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

swftextfield::setcolor() sets the color of the text field. Default is fully opaque black. Color is represented using RGB system.

参数

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

返回值

没有返回值。


SWFTextField
PHP Manual