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

ButtonRecord class
Inheritance: ISwfSerializer, DefineTargetTag
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

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

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

ButtonRecord() public méthode

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

GetSizeOf() public méthode

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

ReadData() public méthode

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.
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 ( BufferedBinaryWriter writer, TagCodeEnum buttonType ) : void
writer SwfDotNet.IO.Utils.BufferedBinaryWriter Writer.
buttonType TagCodeEnum Button type.
Résultat void