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

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

Защищенные свойства (Protected)

Свойство Тип Описание
rect SwfDotNet.IO.Tags.Types.Rect
shape SwfDotNet.IO.Tags.Types.ShapeWithStyle
shapeId ushort
shapeType ShapeType
versionCompatibility byte

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

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

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

Метод Описание
DefineShape ( ) : System

Creates a new DefineShape instance.

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

Creates a new DefineShape instance.

Приватные методы

Метод Описание
Init ( ) : void

Inits this instance.

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

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

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

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

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

GetInstanceFromVersion() публичный статический Метод

Gets the instance from version.
public static GetInstanceFromVersion ( uint version ) : DefineShape
version uint Version.
Результат DefineShape

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

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

Описание свойств

rect защищенное свойство

Rect
protected Rect,SwfDotNet.IO.Tags.Types rect
Результат SwfDotNet.IO.Tags.Types.Rect

shape защищенное свойство

Shape records
protected ShapeWithStyle,SwfDotNet.IO.Tags.Types shape
Результат SwfDotNet.IO.Tags.Types.ShapeWithStyle

shapeId защищенное свойство

Shape Id
protected ushort shapeId
Результат ushort

shapeType защищенное свойство

Shape type
protected ShapeType shapeType
Результат ShapeType

versionCompatibility защищенное свойство

Swf version shape compatibility
protected byte versionCompatibility
Результат byte