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
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 메소드들

메소드 설명
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