C# Class CSharpUtils.ColorFormat

ファイルを表示 Open project: soywiz/csharputils Class Usage Examples

Public Properties

Property Type Description
Alpha Component
Blue Component
Green Component
Red Component
TotalBytes int

Public Methods

Method 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 method

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

Encode() public method

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

Property Details

Alpha public_oe property

public Component Alpha
return Component

Blue public_oe property

public Component Blue
return Component

Green public_oe property

public Component Green
return Component

Red public_oe property

public Component Red
return Component

TotalBytes public_oe property

public int TotalBytes
return int