C# Класс Recurity.Swf.ColorMapData

The COLORMAPDATA structure contains image data. This

structure is compressed as a single block of data.

Row widths in the pixel data fields of these structures

must be rounded up to the next 32-bit word boundary.

For example, an 8-bit image that is 253 pixels wide must be

padded out to 256 bytes per line. To determine the appropriate

padding, make sure to take into account the actual size of

the individual pixel structures; 15-bit pixels occupy 2

bytes and 24-bit pixels occupy 4 bytes (see PIX15 and PIX24).

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

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

Метод Описание
ColorMapData ( byte InitialVersion ) : System

The COLORMAPDATA structure contains image data. This

structure is compressed as a single block of data.

Parse ( Stream input, byte colorTableSize, UInt32 imageDataSize ) : void

ToString ( ) : string

Converts the value of this instance to a System.String.

Verify ( ) : bool

Verifies this object and its components for documentation compliance.

Write ( Stream output ) : void

Writes this object to a stream.

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

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

The COLORMAPDATA structure contains image data. This

structure is compressed as a single block of data.

public ColorMapData ( byte InitialVersion ) : System
InitialVersion byte The version of the Swf file using this tag.
Результат System

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

public Parse ( Stream input, byte colorTableSize, UInt32 imageDataSize ) : void
input Stream
colorTableSize byte
imageDataSize System.UInt32
Результат void

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

Converts the value of this instance to a System.String.
public ToString ( ) : string
Результат string

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

Verifies this object and its components for documentation compliance.
public Verify ( ) : bool
Результат bool

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

Writes this object to a stream.
public Write ( Stream output ) : void
output Stream The stream to write to.
Результат void