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

ColorMapData
Inheritance: ISwfSerializer
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Creates a new ColorMapData instance.
public ColorMapData ( ) : System
Résultat System

ColorMapData() public méthode

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

GetSizeOf() public méthode

Gets the size of.
public GetSizeOf ( ) : int
Résultat int

ReadData() public méthode

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.
Résultat void

Serialize() public méthode

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Résultat void

WriteTo() public méthode

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