Новости
Фотогалерея
Портфолио
Система управления сайтом
Справочник: PHP5.4
Скрипты
Контакты
Введите условия поиска
Отправить форму поиска
Web
mihakot.ru
SWFSprite::stopSound
SWFText::addString
Ming
PHP Manual
The SWFText class
(Информация о версии неизвестна, возможно, только в SVN)
Введение
SWFText.
Обзор классов
SWFText
{
/* Методы */
void
addString
(
string
$string
)
void
addUTF8String
(
string
$text
)
__construct
(
void
)
float
getAscent
(
void
)
float
getDescent
(
void
)
float
getLeading
(
void
)
float
getUTF8Width
(
string
$string
)
float
getWidth
(
string
$string
)
void
moveTo
(
float
$x
,
float
$y
)
void
setColor
(
int
$red
,
int
$green
,
int
$blue
[,
int
$a
= 255
] )
void
setFont
(
SWFFont
$font
)
void
setHeight
(
float
$height
)
void
setSpacing
(
float
$spacing
)
}
Содержание
SWFText::addString
— Draws a string
SWFText::addUTF8String
— Writes the given text into this SWFText object at the current pen position, using the current font, height, spacing, and color
SWFText::__construct
— Creates a new SWFText object
SWFText::getAscent
— Returns the ascent of the current font at its current size, or 0 if not available
SWFText::getDescent
— Returns the descent of the current font at its current size, or 0 if not available
SWFText::getLeading
— Returns the leading of the current font at its current size, or 0 if not available
SWFText::getUTF8Width
— calculates the width of the given string in this text objects current font and size
SWFText::getWidth
— Computes string's width
SWFText::moveTo
— Moves the pen
SWFText::setColor
— Sets the current text color
SWFText::setFont
— Sets the current font
SWFText::setHeight
— Sets the current font height
SWFText::setSpacing
— Sets the current font spacing
SWFSprite::stopSound
SWFText::addString
Ming
PHP Manual
2004-2024 © MihaKot
Дизайн и программирование