C# Класс SwfDotNet.IO.Tags.Types.ColorMapData

ColorMapData
Наследование: ISwfSerializer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ColorMapData() публичный Метод

Creates a new ColorMapData instance.
public ColorMapData ( ) : System
Результат System

ColorMapData() публичный Метод

Creates a new ColorMapData instance.
public ColorMapData ( RGB colorTableRGB, byte colorMapPixelData ) : System
colorTableRGB RGB Color table RGB.
colorMapPixelData byte Color map pixel data.
Результат System

GetSizeOf() публичный Метод

Gets the size of.
public GetSizeOf ( ) : int
Результат int

ReadData() публичный Метод

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.
Результат void

Serialize() публичный Метод

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Результат void

WriteTo() публичный Метод

Writes to a binary writer
public WriteTo ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter Writer.
Результат void