SWFTextField::setColor
(PHP 4 >= 4.0.5)
SWFTextField::setColor — Sets the color of the text field
Description
$red
, int $green
, int $blue
[, int $a
= 255
] )This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
swftextfield::setcolor() sets the color of the text field. Default is fully opaque black. Color is represented using RGB system.
Parameters
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
Return Values
No value is returned.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Ming (flash)
- Функция SWFTextField::addChars() - adds characters to a font that will be available within a textfield
- Функция SWFTextField::addString() - Concatenates the given string to the text field
- Функция SWFTextField::align() - Sets the text field alignment
- Функция SWFTextField::__construct() - Creates a text field object
- Функция SWFTextField::setBounds() - Sets the text field width and height
- Функция SWFTextField::setColor() - Sets the color of the text field
- Функция SWFTextField::setFont() - Sets the text field font
- Функция SWFTextField::setHeight() - Sets the font height of this text field font
- Функция SWFTextField::setIndentation() - Sets the indentation of the first line
- Функция SWFTextField::setLeftMargin() - Sets the left margin width of the text field
- Функция SWFTextField::setLineSpacing() - Sets the line spacing of the text field
- Функция SWFTextField::setMargins() - Sets the margins width of the text field
- Функция SWFTextField::setName() - Sets the variable name
- Функция SWFTextField::setPadding() - Sets the padding of this textfield
- Функция SWFTextField::setRightMargin() - Sets the right margin width of the text field
Коментарии
404 Not Found