C# Class FarsiLibrary.Win.Drawing.Office2003Colors

Afficher le fichier Open project: HEskandari/FarsiLibrary Class Usage Examples

Méthodes publiques

Méthode Description
CalcColor ( Color color1, float percent1, Color color2, float percent2 ) : Color
CalcColor ( Color color1, float percent1, Color color2, float percent2, Color color3, float percent3 ) : Color
CalcNavColor ( int d ) : Color
FromRgb ( int rgb ) : Color
GetDarkValue ( int val ) : int
GetLightColor ( int btnFaceColorPart, int highlightColorPart, int windowColorPart ) : Color
GetLightIndex ( ColorInfo info, byte btnFaceValue, byte highlightValue, byte windowValue ) : int
GetLightValue ( byte val ) : int
GetRealColor ( Color clr ) : Color
OffsetColor ( Color clr, int dR, int dG, int dB ) : Color
ReinitializeColors ( ) : void
this ( Office2003Color color ) : Color

Méthodes protégées

Méthode Description
InitColors ( ) : void
InitOfficeColors ( int id ) : void
InitStandardColors ( ) : void

Private Methods

Méthode Description
CalcValue ( int v1, int v2, int percent ) : int
GetMiddleRGB ( Color clr1, Color clr2, int percent ) : Color
GetThemeType ( ) : XPThemeType
Office2003Colors ( ) : System

Method Details

CalcColor() public méthode

public CalcColor ( Color color1, float percent1, Color color2, float percent2 ) : Color
color1 Color
percent1 float
color2 Color
percent2 float
Résultat Color

CalcColor() public méthode

public CalcColor ( Color color1, float percent1, Color color2, float percent2, Color color3, float percent3 ) : Color
color1 Color
percent1 float
color2 Color
percent2 float
color3 Color
percent3 float
Résultat Color

CalcNavColor() public méthode

public CalcNavColor ( int d ) : Color
d int
Résultat Color

FromRgb() public méthode

public FromRgb ( int rgb ) : Color
rgb int
Résultat Color

GetDarkValue() public méthode

public GetDarkValue ( int val ) : int
val int
Résultat int

GetLightColor() public méthode

public GetLightColor ( int btnFaceColorPart, int highlightColorPart, int windowColorPart ) : Color
btnFaceColorPart int
highlightColorPart int
windowColorPart int
Résultat Color

GetLightIndex() public méthode

public GetLightIndex ( ColorInfo info, byte btnFaceValue, byte highlightValue, byte windowValue ) : int
info ColorInfo
btnFaceValue byte
highlightValue byte
windowValue byte
Résultat int

GetLightValue() public méthode

public GetLightValue ( byte val ) : int
val byte
Résultat int

GetRealColor() public méthode

public GetRealColor ( Color clr ) : Color
clr Color
Résultat Color

InitColors() protected méthode

protected InitColors ( ) : void
Résultat void

InitOfficeColors() protected méthode

protected InitOfficeColors ( int id ) : void
id int
Résultat void

InitStandardColors() protected méthode

protected InitStandardColors ( ) : void
Résultat void

OffsetColor() public méthode

public OffsetColor ( Color clr, int dR, int dG, int dB ) : Color
clr Color
dR int
dG int
dB int
Résultat Color

ReinitializeColors() public méthode

public ReinitializeColors ( ) : void
Résultat void

this() public méthode

public this ( Office2003Color color ) : Color
color Office2003Color
Résultat Color