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

DefineFontTag defines the glyphs that are drawn when text characters are rendered in a particular font.

A complete definition of a font is created using the DefineFontTag object for the glyphs along with an DefineFontInfoTag object which contains the name of the font, whether the font face is bold or italics and a table that maps character codes to the glyphs that is drawn to represent the character.

When defining a font only the glyphs used from a particular font are included. Unused glyphs can be omitted greatly reducing the amount of information that is encoded.

This tag was introduced in Flash 1.

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

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

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

Creates a new DefineFontTag instance.

GetSizeOf ( ) : int

Gets the size of.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

Защищенные методы

Метод Описание
Init ( ) : void

Inits this instance.

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

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

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

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

Gets the size of.
public GetSizeOf ( ) : int
Результат int

Init() защищенный Метод

Inits this instance.
protected Init ( ) : void
Результат void

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

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
Результат void

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

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Результат void

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

see base class
public UpdateData ( byte version ) : void
version byte
Результат void