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

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

Méthodes publiques

Свойство Type Description
alpha byte

Méthodes publiques

Méthode Description
FromWinColor ( Color color ) : RGBA

Gets a RGB object from a windows color.

GetSizeOf ( ) : int

Gets the size of.

RGBA ( ) : System

Creates a new RGBA instance.

RGBA ( byte red, byte green, byte blue, byte alpha ) : System

Creates a new RGBA instance.

ReadData ( BufferedBinaryReader binaryReader ) : void

Reads the data from a binary reader.

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

ToWinColor ( ) : Color

Transform a RGBA color to a win color

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 ) : RGBA
color Color Color.
Résultat RGBA

GetSizeOf() public méthode

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

RGBA() public méthode

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

RGBA() public méthode

Creates a new RGBA instance.
public RGBA ( byte red, byte green, byte blue, byte alpha ) : System
red byte Red.
green byte Green.
blue byte Blue.
alpha byte Alpha.
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 RGBA color to a win color
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

Property Details

alpha public_oe property

Alpha
public byte alpha
Résultat byte