C# Class SwfDotNet.IO.Tags.Types.ShapeRecordCollection

ShapeRecordCollection
Inheritance: System.Collections.CollectionBase, ISwfSerializer
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
Add ( ShapeRecord value ) : ShapeRecord

Adds the specified value.

AddRange ( ShapeRecord values ) : void

Adds the range.

AddRange ( ShapeRecordCollection values ) : void

Adds the range.

Contains ( ShapeRecord value ) : bool

Containses the specified value.

GetLastOne ( ) : ShapeRecord

Gets the last ShapeRecord of the collection.

GetSizeOf ( ) : int

Gets the size of.

IndexOf ( ShapeRecord value ) : int

Get the index of.

Insert ( int index, ShapeRecord value ) : void

Inserts the specified index.

ReadData ( BufferedBinaryReader binaryReader, ShapeType shapeType ) : void

Reads the data.

Remove ( ShapeRecord value ) : void

Removes the specified value.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

ShapeRecordCollection ( ) : System

Creates a new ShapeRecordCollection instance.

ShapeRecordCollection ( ShapeRecord shapes ) : System

Creates a new ShapeRecordCollection instance.

WriteTo ( BufferedBinaryWriter writer ) : void

Writes to a binary writer.

this ( int index ) : ShapeRecord

Gets or sets the LineStyle at the specified index.

Method Details

Add() public method

Adds the specified value.
public Add ( ShapeRecord value ) : ShapeRecord
value ShapeRecord Value.
return ShapeRecord

AddRange() public method

Adds the range.
public AddRange ( ShapeRecord values ) : void
values ShapeRecord Values.
return void

AddRange() public method

Adds the range.
public AddRange ( ShapeRecordCollection values ) : void
values ShapeRecordCollection Values.
return void

Contains() public method

Containses the specified value.
public Contains ( ShapeRecord value ) : bool
value ShapeRecord Value.
return bool

GetLastOne() public method

Gets the last ShapeRecord of the collection.
public GetLastOne ( ) : ShapeRecord
return ShapeRecord

GetSizeOf() public method

Gets the size of.
public GetSizeOf ( ) : int
return int

IndexOf() public method

Get the index of.
public IndexOf ( ShapeRecord value ) : int
value ShapeRecord Value.
return int

Insert() public method

Inserts the specified index.
public Insert ( int index, ShapeRecord value ) : void
index int Index.
value ShapeRecord Value.
return void

ReadData() public method

Reads the data.
public ReadData ( BufferedBinaryReader binaryReader, ShapeType shapeType ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
shapeType ShapeType Shape type.
return void

Remove() public method

Removes the specified value.
public Remove ( ShapeRecord value ) : void
value ShapeRecord Value.
return void

Serialize() public method

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

ShapeRecordCollection() public method

Creates a new ShapeRecordCollection instance.
public ShapeRecordCollection ( ) : System
return System

ShapeRecordCollection() public method

Creates a new ShapeRecordCollection instance.
public ShapeRecordCollection ( ShapeRecord shapes ) : System
shapes ShapeRecord Shapes.
return System

WriteTo() public method

Writes to a binary writer.
public WriteTo ( BufferedBinaryWriter writer ) : void
writer SwfDotNet.IO.Utils.BufferedBinaryWriter Writer.
return void

this() public method

Gets or sets the LineStyle at the specified index.
public this ( int index ) : ShapeRecord
index int
return ShapeRecord