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

Gradient Record
Inheritance: SizeStruct, ISwfSerializer
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode Description
GetSizeOf ( ) : int

Gets the size of.

GradientRecord ( ) : System

Creates a new GradientRecord instance.

GradientRecord ( byte ratio, RGBColor color ) : System

Creates a new GradientRecord instance.

ReadData ( BufferedBinaryReader binaryReader, ShapeType shapeType ) : void

Reads the data.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BinaryWriter writer ) : void

Writes to a binary writer.

Method Details

GetSizeOf() public méthode

Gets the size of.
public GetSizeOf ( ) : int
Résultat int

GradientRecord() public méthode

Creates a new GradientRecord instance.
public GradientRecord ( ) : System
Résultat System

GradientRecord() public méthode

Creates a new GradientRecord instance.
public GradientRecord ( byte ratio, RGBColor color ) : System
ratio byte Ratio.
color RGBColor Color.
Résultat System

ReadData() public méthode

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

Serialize() public méthode

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
Résultat void

WriteTo() public méthode

Writes to a binary writer.
public WriteTo ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter Writer.
Résultat void