C# Класс SwfDotNet.IO.Tags.DefineText2Tag

DefineTextTag defines one or more lines of transparent text.

It extends the functionality provided by the DefineTextTag class by supporting transparent colors. The characters, style and layout information is defined using TextRecord objects. The DefineText2Tag class acts as a container for the text, defining the bounding rectangle that encloses the text along with a coordinate transform that can be used to change the size and orientation of the text when it is displayed.

The bounding rectangle and matrix controls how the text is laid out. Each TextRecord object in the TextRecordCollection specifies an offset from the left and bottom edges of the bounding rectangle, allowing successive lines of text to be arranged as a block or paragraph. The coordinate transform matrix can be used to control the size and orientation of the text when it is displayed.

This tag was introduced in Flash 3.

Наследование: DefineText
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DefineText2Tag ( ) : System

Creates a new DefineText2Tag instance.

Описание методов

DefineText2Tag() публичный Метод

Creates a new DefineText2Tag instance.
public DefineText2Tag ( ) : System
Результат System