C# Class SwfDotNet.IO.Tags.DefineButtonCxFormTag

DefineButtonCxFormTag defines the colour transform that is applied to each shape that is used to draw a button.

This class is only used in conjunction with DefineButtonTag. DefineButton2Tag allows colour transforms to be specified in the ButtonRecord object that identifies each shape that is displayed for a given button state.

This tag was introduced in Flash 2.

Inheritance: BaseTag, DefineTag
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode Description
DefineButtonCxFormTag ( ) : System

Creates a new DefineButtonCxFormTag instance.

DefineButtonCxFormTag ( ushort buttonId, CXForm buttonColorTransform ) : System

Creates a new DefineButtonCxFormTag instance.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

Méthodes protégées

Méthode Description
GetSizeOf ( ) : int

Gets the size of.

Method Details

DefineButtonCxFormTag() public méthode

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

DefineButtonCxFormTag() public méthode

Creates a new DefineButtonCxFormTag instance.
public DefineButtonCxFormTag ( ushort buttonId, CXForm buttonColorTransform ) : System
buttonId ushort Button id.
buttonColorTransform SwfDotNet.IO.Tags.Types.CXForm Button color transform.
Résultat System

GetSizeOf() protected méthode

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

ReadData() public méthode

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

Serialize() public méthode

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Résultat void

UpdateData() public méthode

see base class
public UpdateData ( byte version ) : void
version byte
Résultat void