C# Class Recurity.Swf.TextRecord

A TEXTRECORD sets text styles for subsequent characters. It can be used to select a font, change the text color, change the point size, insert a line break, or set the x and y position of the next character in the text. The new text styles apply until another TEXTRECORD changes the styles. TextRecords TEXTRECORD[zero or more] Text records. EndOfRecordsFlag UI8 Must be 0. DefineText Field Type Comment Static text tags 191 The TEXTRECORD also defines the actual characters in a text object. Characters are referred to by an index into the current font’s glyph table, not by a character code. Each TEXTRECORD contains a group of characters that all share the same text style, and are on the same line of text.
Inheritance: AbstractSwfElement
Exibir arquivo Open project: rtezli/Blitzableiter

Public Methods

Method Description
Parse ( Stream input, TagTypes caller, byte glyphBits, byte advancedBits, byte firstByte ) : void

Parses this object out of a stream

TextRecord ( byte InitialVersion ) : System

A TEXTRECORD sets text styles for subsequent characters.

ToString ( ) : string

Converts the value of this instance to a System.String.

Verify ( ) : bool

Verifies this object and its components for documentation compliance.

Write ( Stream output ) : void

Writes this object back to a stream

Private Methods

Method Description
GetBit ( byte input, byte position ) : bool

Gets single bit from a byte

Method Details

Parse() public method

Parses this object out of a stream
public Parse ( Stream input, TagTypes caller, byte glyphBits, byte advancedBits, byte firstByte ) : void
input Stream
caller TagTypes
glyphBits byte
advancedBits byte
firstByte byte
return void

TextRecord() public method

A TEXTRECORD sets text styles for subsequent characters.
public TextRecord ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this object.
return System

ToString() public method

Converts the value of this instance to a System.String.
public ToString ( ) : string
return string

Verify() public method

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
return bool

Write() public method

Writes this object back to a stream
public Write ( Stream output ) : void
output Stream The stream to write to.
return void