C# Class CrossUI.ColorExtensions

Datei anzeigen Open project: pragmatrix/CrossUI

Public Methods

Method Description
Darkened ( this _, double f ) : Color
Lightened ( this _, double f ) : Color
Mixed ( this _, Color other, double f ) : Color

Private Methods

Method Description
clamp ( double b, double low, double high ) : double
interpolate ( double a, double b, double f ) : double

Method Details

Darkened() public static method

public static Darkened ( this _, double f ) : Color
_ this
f double
return Color

Lightened() public static method

public static Lightened ( this _, double f ) : Color
_ this
f double
return Color

Mixed() public static method

public static Mixed ( this _, Color other, double f ) : Color
_ this
other Color
f double
return Color