C# Class WPFOfficeTheme.Media.Coloration

Exibir arquivo Open project: alexsharoff/wpf-office-theme

Private Properties

Property Type Description
CalculateParameters void
SetSourcePallet void

Public Methods

Method Description
Coloration ( ColorType colorType ) : System
GetColoredPallet ( float hue, float hueConstraint, float saturation, float x ) : Color[]
GetHueAverage ( ) : float

Private Methods

Method Description
CalculateParameters ( float value, float min, float max, float &diff, float &constraint, float &aux ) : void
SetSourcePallet ( Color pallet ) : void

Method Details

Coloration() public method

public Coloration ( ColorType colorType ) : System
colorType ColorType
return System

GetColoredPallet() public method

public GetColoredPallet ( float hue, float hueConstraint, float saturation, float x ) : Color[]
hue float
hueConstraint float
saturation float
x float
return Color[]

GetHueAverage() public method

public GetHueAverage ( ) : float
return float