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

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

Public Methods

Method Description
ColorMapData ( ) : System

Creates a new ColorMapData instance.

ColorMapData ( RGB colorTableRGB, byte colorMapPixelData ) : System

Creates a new ColorMapData instance.

GetSizeOf ( ) : int

Gets the size of.

ReadData ( BufferedBinaryReader reader, byte bitmapColorTableSize, ushort bitmapWidth, ushort bitmapHeight, int toRead ) : void

Reads the data.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BinaryWriter writer ) : void

Writes to a binary writer

Method Details

ColorMapData() public method

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

ColorMapData() public method

Creates a new ColorMapData instance.
public ColorMapData ( RGB colorTableRGB, byte colorMapPixelData ) : System
colorTableRGB RGB Color table RGB.
colorMapPixelData byte Color map pixel data.
return System

GetSizeOf() public method

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

ReadData() public method

Reads the data.
public ReadData ( BufferedBinaryReader reader, byte bitmapColorTableSize, ushort bitmapWidth, ushort bitmapHeight, int toRead ) : void
reader SwfDotNet.IO.Utils.BufferedBinaryReader Reader.
bitmapColorTableSize byte Size of the bitmap color table.
bitmapWidth ushort Width of the bitmap.
bitmapHeight ushort Height of the bitmap.
toRead int To read.
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