C# Class 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.

Inheritance: BaseTag, DefineTag, IDefineFont
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Init ( ) : void

Inits this instance.

Method Details

DefineFontTag() public méthode

Creates a new DefineFontTag instance.
public DefineFontTag ( ) : System
Résultat System

GetSizeOf() public méthode

Gets the size of.
public GetSizeOf ( ) : int
Résultat int

Init() protected méthode

Inits this instance.
protected Init ( ) : void
Résultat void

ReadData() public méthode

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
Résultat void

Serialize() public méthode

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Résultat void

UpdateData() public méthode

see base class
public UpdateData ( byte version ) : void
version byte
Résultat void