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

MorphGradRecord
Inheritance: ISwfSerializer
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
GetSizeOf ( ) : int

Gets the size of.

MorphGradRecord ( ) : System

Creates a new MorphGradRecord instance.

MorphGradRecord ( byte startRatio, RGBA startColor, byte endRatio, RGBA endColor ) : System

Creates a new MorphGradRecord instance.

ReadData ( BufferedBinaryReader binaryReader ) : void

Reads the data.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BinaryWriter writer ) : void

Writes to a binary writer.

Method Details

GetSizeOf() public static method

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

MorphGradRecord() public method

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

MorphGradRecord() public method

Creates a new MorphGradRecord instance.
public MorphGradRecord ( byte startRatio, RGBA startColor, byte endRatio, RGBA endColor ) : System
startRatio byte Start ratio.
startColor RGBA Color of the start.
endRatio byte End ratio.
endColor RGBA Color of the end.
return System

ReadData() public method

Reads the data.
public ReadData ( BufferedBinaryReader binaryReader ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
return void

Serialize() public method

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

WriteTo() public method

Writes to a binary writer.
public WriteTo ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter Writer.
return void