C# 클래스 SwfDotNet.IO.Tags.Types.ButtonRecord

ButtonRecord class
상속: ISwfSerializer, DefineTargetTag
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

ButtonRecord() 공개 메소드

Creates a new ButtonRecord instance.
public ButtonRecord ( ) : System
리턴 System

ButtonRecord() 공개 메소드

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.
리턴 System

GetSizeOf() 공개 메소드

Gets the size.
public GetSizeOf ( ) : int
리턴 int

ReadData() 공개 메소드

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.
리턴 void

Serialize() 공개 메소드

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
리턴 void

WriteTo() 공개 메소드

Writes to a binary writer.
public WriteTo ( BufferedBinaryWriter writer, TagCodeEnum buttonType ) : void
writer SwfDotNet.IO.Utils.BufferedBinaryWriter Writer.
buttonType TagCodeEnum Button type.
리턴 void