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

FillStyleCollection is the typed collection for the FillStyle extended objects: SolidFill, GradientFill and BitmapFill
Inheritance: System.Collections.CollectionBase, ISwfSerializer
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
Add ( FillStyle value ) : FillStyle

Adds the specified value.

AddRange ( FillStyle values ) : void

Adds the range.

Contains ( FillStyle value ) : bool

Containses the specified value.

FillStyleCollection ( ) : System

Creates a new FillStyleCollection instance.

FillStyleCollection ( FillStyle fillStyles ) : System

Creates a new FillStyleCollection instance.

GetSizeOf ( ) : int

Gets the size of.

IndexOf ( FillStyle value ) : int

Get the index of.

Insert ( int index, FillStyle value ) : void

Inserts the specified index.

ReadData ( BufferedBinaryReader binaryReader, ShapeType shapeType ) : void

Reads the data.

Remove ( FillStyle value ) : void

Removes the specified value.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BufferedBinaryWriter writer ) : void

Writes to a binary writer.

this ( int index ) : FillStyle

Gets or sets the LineStyle at the specified index.

Private Methods

Method Description
GetFillStyleFromType ( byte fillStyleType ) : FillStyle

Gets the fill style from type.

Method Details

Add() public method

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

AddRange() public method

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

Contains() public method

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

FillStyleCollection() public method

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

FillStyleCollection() public method

Creates a new FillStyleCollection instance.
public FillStyleCollection ( FillStyle fillStyles ) : System
fillStyles FillStyle Fill styles.
return System

GetSizeOf() public method

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

IndexOf() public method

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

Insert() public method

Inserts the specified index.
public Insert ( int index, FillStyle value ) : void
index int Index.
value FillStyle 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 ( FillStyle value ) : void
value FillStyle Value.
return void

Serialize() public method

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

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 ) : FillStyle
index int
return FillStyle