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

RGB
Inheritance: RGBColor
Afficher le fichier Open project: bladecoding/SwfExport Class Usage Examples

Méthodes publiques

Méthode Description
FromWinColor ( Color color ) : RGB

Gets a RGB object from a windows color.

GetSizeOf ( ) : int

Gets the size of.

RGB ( ) : System

Creates a new RGB instance.

RGB ( byte red, byte green, byte blue ) : System

Creates a new RGB instance.

ReadData ( BufferedBinaryReader binaryReader ) : void

Reads the data from a binary reader.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

ToWinColor ( ) : Color

Transform a RGB object to a win color object

WriteTo ( BinaryWriter writer ) : void

Writes to a binary writer.

Method Details

FromWinColor() public static méthode

Gets a RGB object from a windows color.
public static FromWinColor ( Color color ) : RGB
color Color Color.
Résultat RGB

GetSizeOf() public méthode

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

RGB() public méthode

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

RGB() public méthode

Creates a new RGB instance.
public RGB ( byte red, byte green, byte blue ) : System
red byte Red.
green byte Green.
blue byte Blue.
Résultat System

ReadData() public méthode

Reads the data from a binary reader.
public ReadData ( BufferedBinaryReader binaryReader ) : void
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader Binary reader.
Résultat void

Serialize() public méthode

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

ToWinColor() public méthode

Transform a RGB object to a win color object
public ToWinColor ( ) : Color
Résultat Color

WriteTo() public méthode

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