C# Class CSharpUtils.ColorFormat

Afficher le fichier Open project: soywiz/csharputils Class Usage Examples

Méthodes publiques

Свойство Type Description
Alpha Component
Blue Component
Green Component
Red Component
TotalBytes int

Méthodes publiques

Méthode Description
Decode ( uint Data, byte &R, byte &G, byte &B, byte &A ) : void
Encode ( byte R, byte G, byte B, byte A ) : uint

Method Details

Decode() public méthode

public Decode ( uint Data, byte &R, byte &G, byte &B, byte &A ) : void
Data uint
R byte
G byte
B byte
A byte
Résultat void

Encode() public méthode

public Encode ( byte R, byte G, byte B, byte A ) : uint
R byte
G byte
B byte
A byte
Résultat uint

Property Details

Alpha public_oe property

public Component Alpha
Résultat Component

Blue public_oe property

public Component Blue
Résultat Component

Green public_oe property

public Component Green
Résultat Component

Red public_oe property

public Component Red
Résultat Component

TotalBytes public_oe property

public int TotalBytes
Résultat int