C# Class SwfDotNet.IO.Tags.Types.TextRecord

Text Record class
Inheritance: ISwfSerializer
ファイルを表示 Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
GetAdvanceBits ( ) : byte

Gets the advance bits.

GetGlyphBits ( ) : byte

Gets the glyph bits.

GetSizeOf ( ) : int

Gets the size of.

ReadData ( BufferedBinaryReader binaryReader, bool &endOfRecordsFlag, TagCodeEnum tagCodeEnum ) : void

Reads the data.

Serialize ( XmlWriter writer ) : void

Serializes with the specified writer.

TextRecord ( ) : System

Creates a new TextRecord instance.

WriteTo ( BufferedBinaryWriter writer ) : void

Writes to a binary writer.

Protected Methods

Method Description
Init ( ) : void

Inits this instance.

Private Methods

Method Description
HasColor ( ) : bool

Determines whether this instance has color.

HasFont ( ) : bool

Determines whether this instance has font.

HasStyle ( ) : bool

Determines whether this instance has style.

HasXOffset ( ) : bool

Determines whether [has X offset].

HasYOffset ( ) : bool

Determines whether [has Y offset].

Method Details

GetAdvanceBits() public method

Gets the advance bits.
public GetAdvanceBits ( ) : byte
return byte

GetGlyphBits() public method

Gets the glyph bits.
public GetGlyphBits ( ) : byte
return byte

GetSizeOf() public method

Gets the size of.
public GetSizeOf ( ) : int
return int

Init() protected method

Inits this instance.
protected Init ( ) : void
return void

ReadData() public method

Reads the data.
public ReadData ( BufferedBinaryReader binaryReader, bool &endOfRecordsFlag, TagCodeEnum tagCodeEnum ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
endOfRecordsFlag bool End of records flag.
tagCodeEnum TagCodeEnum Tag code enum.
return void

Serialize() public method

Serializes with the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void

TextRecord() public method

Creates a new TextRecord instance.
public TextRecord ( ) : System
return System

WriteTo() public method

Writes to a binary writer.
public WriteTo ( BufferedBinaryWriter writer ) : void
writer SwfDotNet.IO.Utils.BufferedBinaryWriter Writer.
return void