C# Class CrystalMpq.DataFormats.ArgbColor

Afficher le fichier Open project: sgraf812/crystalmpq Class Usage Examples

Méthodes publiques

Свойство Type Description
A byte
B byte
G byte
R byte

Méthodes publiques

Méthode Description
ArgbColor ( byte r, byte g, byte b ) : System
ArgbColor ( byte r, byte g, byte b, byte a ) : System
ArgbColor ( ushort color ) : System

Private Methods

Méthode Description
CopyOpaque ( ArgbColor destination, ArgbColor source ) : void

Copies an ArgbColor into another, with forced opaque alpha.

CopyWithAlpha ( ArgbColor destination, ArgbColor source, byte alpha ) : void

Copies an ArgbColor into another, with forced opaque alpha.

DxtMergeHalves ( ArgbColor result, ArgbColor color1, ArgbColor color2 ) : void

Merges two colors for DXT decompression.

DxtMergeThirds ( ArgbColor result, ArgbColor minColor, ArgbColor maxColor ) : void

Merges two colors for DXT decompression.

Method Details

ArgbColor() public méthode

public ArgbColor ( byte r, byte g, byte b ) : System
r byte
g byte
b byte
Résultat System

ArgbColor() public méthode

public ArgbColor ( byte r, byte g, byte b, byte a ) : System
r byte
g byte
b byte
a byte
Résultat System

ArgbColor() public méthode

public ArgbColor ( ushort color ) : System
color ushort
Résultat System

Property Details

A public_oe property

public byte A
Résultat byte

B public_oe property

public byte B
Résultat byte

G public_oe property

public byte G
Résultat byte

R public_oe property

public byte R
Résultat byte