PHP - Manual: SWFTextField::setColor
2024-12-22
(PHP 5 < 5.3.0, PECL ming SVN)
SWFTextField::setColor — Sets the color of the text field
$red
, int $green
, int $blue
[, int $a
= 255
] ) : void此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 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
没有返回值。
官方地址:https://www.php.net/manual/en/swftextfield.setcolor.php