C# Class SwfDotNet.IO.Tags.DefineShape

DefineShape is the abstract class for the DefineShape tags: SwfDotNet.IO.Tags.DefineShapeTag, SwfDotNet.IO.Tags.DefineShape2Tag, SwfDotNet.IO.Tags.DefineShape3Tag This class provides the members, properties, read and write methods common to this 3 tags.

Inheritance: BaseTag, DefineTag
Datei anzeigen Open project: bladecoding/SwfExport

Protected Properties

Property Type Description
rect SwfDotNet.IO.Tags.Types.Rect
shape SwfDotNet.IO.Tags.Types.ShapeWithStyle
shapeId ushort
shapeType ShapeType
versionCompatibility byte

Public Methods

Method Description
GetInstanceFromVersion ( uint version ) : DefineShape

Gets the instance from version.

GetSizeOf ( ) : int

Gets the size of.

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
DefineShape ( ) : System

Creates a new DefineShape instance.

DefineShape ( ushort shapeId, Rect rect, ShapeWithStyle shape ) : System

Creates a new DefineShape instance.

Private Methods

Method Description
Init ( ) : void

Inits this instance.

Method Details

DefineShape() protected method

Creates a new DefineShape instance.
protected DefineShape ( ) : System
return System

DefineShape() protected method

Creates a new DefineShape instance.
protected DefineShape ( ushort shapeId, Rect rect, ShapeWithStyle shape ) : System
shapeId ushort Shape id.
rect SwfDotNet.IO.Tags.Types.Rect Rect.
shape SwfDotNet.IO.Tags.Types.ShapeWithStyle Shape.
return System

GetInstanceFromVersion() public static method

Gets the instance from version.
public static GetInstanceFromVersion ( uint version ) : DefineShape
version uint Version.
return DefineShape

GetSizeOf() public method

Gets the size of.
public 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

Property Details

rect protected_oe property

Rect
protected Rect,SwfDotNet.IO.Tags.Types rect
return SwfDotNet.IO.Tags.Types.Rect

shape protected_oe property

Shape records
protected ShapeWithStyle,SwfDotNet.IO.Tags.Types shape
return SwfDotNet.IO.Tags.Types.ShapeWithStyle

shapeId protected_oe property

Shape Id
protected ushort shapeId
return ushort

shapeType protected_oe property

Shape type
protected ShapeType shapeType
return ShapeType

versionCompatibility protected_oe property

Swf version shape compatibility
protected byte versionCompatibility
return byte