C# Class Xamarin.Canvas.Color

显示文件 Open project: Clancey/Canvas

Public Methods

Method Description
Color ( double r, double g, double b ) : System
Color ( double r, double g, double b, double a ) : System
Equals ( object obj ) : bool
GetHashCode ( ) : int
MultiplyAlpha ( double alpha ) : Color
ToString ( ) : string
operator ( ) : bool

Private Methods

Method Description
CheckDirty ( ) : void
UpdateHSLFromRGB ( ) : void
UpdateRGBFromHSL ( ) : void

Method Details

Color() public method

public Color ( double r, double g, double b ) : System
r double
g double
b double
return System

Color() public method

public Color ( double r, double g, double b, double a ) : System
r double
g double
b double
a double
return System

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

MultiplyAlpha() public method

public MultiplyAlpha ( double alpha ) : Color
alpha double
return Color

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool