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

ButtonRecord class
Inheritance: ISwfSerializer, DefineTargetTag
Mostra file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
ButtonRecord ( ) : System

Creates a new ButtonRecord instance.

ButtonRecord ( bool buttonStateHitTest, bool buttonStateDown, bool buttonStateOver, bool buttonStateUp, ushort characterId, ushort placeDepth, Matrix placeMatrix, CXFormWithAlphaData colorTransform ) : System

Creates a new ButtonRecord instance.

GetSizeOf ( ) : int

Gets the size.

ReadData ( BufferedBinaryReader binaryReader, byte firstByte, TagCodeEnum buttonType ) : void

Reads the data.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BufferedBinaryWriter writer, TagCodeEnum buttonType ) : void

Writes to a binary writer.

Method Details

ButtonRecord() public method

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

ButtonRecord() public method

Creates a new ButtonRecord instance.
public ButtonRecord ( bool buttonStateHitTest, bool buttonStateDown, bool buttonStateOver, bool buttonStateUp, ushort characterId, ushort placeDepth, Matrix placeMatrix, CXFormWithAlphaData colorTransform ) : System
buttonStateHitTest bool Button state hit test.
buttonStateDown bool Button state down.
buttonStateOver bool Button state over.
buttonStateUp bool Button state up.
characterId ushort Character id.
placeDepth ushort Place depth.
placeMatrix Matrix Place matrix.
colorTransform CXFormWithAlphaData Color transform.
return System

GetSizeOf() public method

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

ReadData() public method

Reads the data.
public ReadData ( BufferedBinaryReader binaryReader, byte firstByte, TagCodeEnum buttonType ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
firstByte byte First byte.
buttonType TagCodeEnum Button type.
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 ( BufferedBinaryWriter writer, TagCodeEnum buttonType ) : void
writer SwfDotNet.IO.Utils.BufferedBinaryWriter Writer.
buttonType TagCodeEnum Button type.
return void