C# Класс 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.

Наследование: BaseTag, DefineTag
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
GetSizeOf ( ) : int

Gets the size of.

Описание методов

DefineButtonCxFormTag() публичный Метод

Creates a new DefineButtonCxFormTag instance.
public DefineButtonCxFormTag ( ) : System
Результат System

DefineButtonCxFormTag() публичный Метод

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.
Результат System

GetSizeOf() защищенный Метод

Gets the size of.
protected GetSizeOf ( ) : int
Результат int

ReadData() публичный Метод

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
Результат void

Serialize() публичный Метод

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Результат void

UpdateData() публичный Метод

see base class
public UpdateData ( byte version ) : void
version byte
Результат void