C# Class WinDirStat.Net.Drawing.ColorSpace

Afficher le fichier Open project: trigger-segfault/WinDirStat.Net

Méthodes publiques

Méthode Description
GetBrightness ( Rgb24Color color ) : float
GetBrightness ( Rgba32Color color ) : float
GetBrightness ( System.Drawing.Color color ) : float
NormalizeColor ( int &red, int &green, int &blue ) : void
SetBrightness ( Rgb24Color color, float brightness ) : Rgb24Color
SetBrightness ( Rgba32Color color, float brightness ) : Rgba32Color
SetBrightness ( System.Drawing.Color color, float brightness ) : System.Drawing.Color

Private Methods

Méthode Description
DistributeFirst ( int &first, int &second, int &third ) : void

Method Details

GetBrightness() public static méthode

public static GetBrightness ( Rgb24Color color ) : float
color Rgb24Color
Résultat float

GetBrightness() public static méthode

public static GetBrightness ( Rgba32Color color ) : float
color Rgba32Color
Résultat float

GetBrightness() public static méthode

public static GetBrightness ( System.Drawing.Color color ) : float
color System.Drawing.Color
Résultat float

NormalizeColor() public static méthode

public static NormalizeColor ( int &red, int &green, int &blue ) : void
red int
green int
blue int
Résultat void

SetBrightness() public static méthode

public static SetBrightness ( Rgb24Color color, float brightness ) : Rgb24Color
color Rgb24Color
brightness float
Résultat Rgb24Color

SetBrightness() public static méthode

public static SetBrightness ( Rgba32Color color, float brightness ) : Rgba32Color
color Rgba32Color
brightness float
Résultat Rgba32Color

SetBrightness() public static méthode

public static SetBrightness ( System.Drawing.Color color, float brightness ) : System.Drawing.Color
color System.Drawing.Color
brightness float
Résultat System.Drawing.Color