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
Afficher le fichier Open project: bladecoding/SwfExport

Protected Properties

Свойство Type Description
rect SwfDotNet.IO.Tags.Types.Rect
shape SwfDotNet.IO.Tags.Types.ShapeWithStyle
shapeId ushort
shapeType ShapeType
versionCompatibility byte

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
DefineShape ( ) : System

Creates a new DefineShape instance.

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

Creates a new DefineShape instance.

Private Methods

Méthode Description
Init ( ) : void

Inits this instance.

Method Details

DefineShape() protected méthode

Creates a new DefineShape instance.
protected DefineShape ( ) : System
Résultat System

DefineShape() protected méthode

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.
Résultat System

GetInstanceFromVersion() public static méthode

Gets the instance from version.
public static GetInstanceFromVersion ( uint version ) : DefineShape
version uint Version.
Résultat DefineShape

GetSizeOf() public méthode

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

Property Details

rect protected_oe property

Rect
protected Rect,SwfDotNet.IO.Tags.Types rect
Résultat SwfDotNet.IO.Tags.Types.Rect

shape protected_oe property

Shape records
protected ShapeWithStyle,SwfDotNet.IO.Tags.Types shape
Résultat SwfDotNet.IO.Tags.Types.ShapeWithStyle

shapeId protected_oe property

Shape Id
protected ushort shapeId
Résultat ushort

shapeType protected_oe property

Shape type
protected ShapeType shapeType
Résultat ShapeType

versionCompatibility protected_oe property

Swf version shape compatibility
protected byte versionCompatibility
Résultat byte