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
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
GetSizeOf ( ) : int

Gets the size of.

Method Details

DefineButtonCxFormTag() public method

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

DefineButtonCxFormTag() public method

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.
return System

GetSizeOf() protected method

Gets the size of.
protected GetSizeOf ( ) : int
return int

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