C# Class AnimalCrossingQR.AC.Color

Datei anzeigen Open project: jefff/animalcrossingqr

Public Methods

Method Description
Color ( byte red, byte green, byte blue ) : System
Color ( byte red, byte green, byte blue, byte alpha ) : System
Distance ( Color a, Color b ) : double
DistanceSquared ( Color a, Color b ) : double
Equals ( object obj ) : bool
GetHashCode ( ) : int
operator ( ) : bool

Private Methods

Method Description
LerpWhite ( byte color, byte alpha ) : byte

Method Details

Color() public method

public Color ( byte red, byte green, byte blue ) : System
red byte
green byte
blue byte
return System

Color() public method

public Color ( byte red, byte green, byte blue, byte alpha ) : System
red byte
green byte
blue byte
alpha byte
return System

Distance() public static method

public static Distance ( Color a, Color b ) : double
a Color
b Color
return double

DistanceSquared() public static method

public static DistanceSquared ( Color a, Color b ) : double
a Color
b Color
return double

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

operator() public static method

public static operator ( ) : bool
return bool