Method | 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 |
Method | Description | |
---|---|---|
DistributeFirst ( int &first, int &second, int &third ) : void |
public static GetBrightness ( Rgb24Color color ) : float | ||
color | Rgb24Color | |
return | float |
public static GetBrightness ( Rgba32Color color ) : float | ||
color | Rgba32Color | |
return | float |
public static GetBrightness ( System.Drawing.Color color ) : float | ||
color | System.Drawing.Color | |
return | float |
public static NormalizeColor ( int &red, int &green, int &blue ) : void | ||
red | int | |
green | int | |
blue | int | |
return | void |
public static SetBrightness ( Rgb24Color color, float brightness ) : Rgb24Color | ||
color | Rgb24Color | |
brightness | float | |
return | Rgb24Color |
public static SetBrightness ( Rgba32Color color, float brightness ) : Rgba32Color | ||
color | Rgba32Color | |
brightness | float | |
return | Rgba32Color |
public static SetBrightness ( System.Drawing.Color color, float brightness ) : System.Drawing.Color | ||
color | System.Drawing.Color | |
brightness | float | |
return | System.Drawing.Color |