C# Class CSharpUtils.Drawing.ARGB_Rev

Show file Open project: soywiz/csharputils Class Usage Examples

Public Properties

Property Type Description
B byte

Public Methods

Method Description
ARGB_Rev ( byte A, byte R, byte G, byte B ) : System
ARGB_Rev ( int A, int R, int G, int B ) : System
DistanceRGB ( ARGB_Rev Color1, ARGB_Rev Color2 ) : int

Interpolate ( ARGB_Rev Color1, ARGB_Rev Color2, float Offset ) : ARGB_Rev

Mix ( ARGB_Rev Color1, ARGB_Rev Color2, float Offset = 0.5f ) : ARGB_Rev

ToString ( ) : string

Method Details

ARGB_Rev() public method

public ARGB_Rev ( byte A, byte R, byte G, byte B ) : System
A byte
R byte
G byte
B byte
return System

ARGB_Rev() public method

public ARGB_Rev ( int A, int R, int G, int B ) : System
A int
R int
G int
B int
return System

DistanceRGB() public static method

public static DistanceRGB ( ARGB_Rev Color1, ARGB_Rev Color2 ) : int
Color1 ARGB_Rev
Color2 ARGB_Rev
return int

Interpolate() public static method

public static Interpolate ( ARGB_Rev Color1, ARGB_Rev Color2, float Offset ) : ARGB_Rev
Color1 ARGB_Rev
Color2 ARGB_Rev
Offset float
return ARGB_Rev

Mix() public static method

public static Mix ( ARGB_Rev Color1, ARGB_Rev Color2, float Offset = 0.5f ) : ARGB_Rev
Color1 ARGB_Rev
Color2 ARGB_Rev
Offset float
return ARGB_Rev

ToString() public method

public ToString ( ) : string
return string

Property Details

B public property

public byte B
return byte