C# Class SwfDotNet.IO.Tags.DefineBitsTag

DefineBits tag for Jpeg images in swf
Inheritance: BaseTag, DefineTag
Mostrar archivo Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
DefineBitsTag ( ) : System

Creates a new DefineBitsTag instance.

DefineBitsTag ( ushort id, byte image ) : System

Creates a new DefineBitsTag instance.

FromFile ( ushort characterId, string fileName ) : DefineBitsTag

Construct a new DefineBitsJpeg2Tag object from a file.

FromImage ( ushort characterId, Image image ) : DefineBitsTag

Construct a new DefineBitsJpeg2Tag object from an image object.

FromStream ( ushort characterId, Stream stream ) : DefineBitsTag

Construct a new DefineBitsJpeg2Tag object from a stream.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

Method Details

DefineBitsTag() public method

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

DefineBitsTag() public method

Creates a new DefineBitsTag instance.
public DefineBitsTag ( ushort id, byte image ) : System
id ushort Id.
image byte Image.
return System

FromFile() public static method

Construct a new DefineBitsJpeg2Tag object from a file.
public static FromFile ( ushort characterId, string fileName ) : DefineBitsTag
characterId ushort Character id.
fileName string Name of the file.
return DefineBitsTag

FromImage() public static method

Construct a new DefineBitsJpeg2Tag object from an image object.
public static FromImage ( ushort characterId, Image image ) : DefineBitsTag
characterId ushort Character id.
image Image Image.
return DefineBitsTag

FromStream() public static method

Construct a new DefineBitsJpeg2Tag object from a stream.
public static FromStream ( ushort characterId, Stream stream ) : DefineBitsTag
characterId ushort Character id.
stream Stream Stream.
return DefineBitsTag

ReadData() public method

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
return void

Serialize() public method

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void

UpdateData() public method

see base class
public UpdateData ( byte version ) : void
version byte
return void