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

Gradient Record
Inheritance: SizeStruct, ISwfSerializer
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
GetSizeOf ( ) : int

Gets the size of.

GradientRecord ( ) : System

Creates a new GradientRecord instance.

GradientRecord ( byte ratio, RGBColor color ) : System

Creates a new GradientRecord instance.

ReadData ( BufferedBinaryReader binaryReader, ShapeType shapeType ) : 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 method

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

GradientRecord() public method

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

GradientRecord() public method

Creates a new GradientRecord instance.
public GradientRecord ( byte ratio, RGBColor color ) : System
ratio byte Ratio.
color RGBColor Color.
return System

ReadData() public method

Reads the data.
public ReadData ( BufferedBinaryReader binaryReader, ShapeType shapeType ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
shapeType ShapeType Shape type.
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