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

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

Méthodes publiques

Свойство Type Description
blue byte
green byte
red byte

Méthodes publiques

Méthode Description
FromWinColor ( Color color ) : RGBColor

Gets a RGB or RGBA object from a windows color.

GetSizeOf ( ) : int

Gets the size of.

ReadData ( BufferedBinaryReader binaryReader ) : void

Reads the data from the binary reader.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

WriteTo ( BinaryWriter writer ) : void

Writes to a binary writer

Méthodes protégées

Méthode Description
RGBColor ( ) : System

Creates a new RGBColor instance.

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

Creates a new RGBColor instance.

Method Details

FromWinColor() public static méthode

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

GetSizeOf() public abstract méthode

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

RGBColor() protected méthode

Creates a new RGBColor instance.
protected RGBColor ( ) : System
Résultat System

RGBColor() protected méthode

Creates a new RGBColor instance.
protected RGBColor ( 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 the 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

WriteTo() public méthode

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

Property Details

blue public_oe property

Blue
public byte blue
Résultat byte

green public_oe property

Green
public byte green
Résultat byte

red public_oe property

Red
public byte red
Résultat byte