Метод | Описание | |
---|---|---|
ApplyTo ( |
Applies the gamma-correction to the given color.
|
|
GammaCorrection ( ) : System |
Initializes a new instance of the GammaCorrection class using the default-value 1f (no correction) for all colors.
|
|
GammaCorrection ( float gamma ) : System |
Initializes a new instance of the GammaCorrection class.
|
|
GammaCorrection ( float r, float g, float b ) : System |
Initializes a new instance of the GammaCorrection class.
|
public ApplyTo ( |
||
color | The color to correct. | |
Результат | void |
public GammaCorrection ( float gamma ) : System | ||
gamma | float | The gamma-value for all colors used for color-correction. /// Values greater than one will make colors brighter, values less than one will make colors darker. |
Результат | System |
public GammaCorrection ( float r, float g, float b ) : System | ||
r | float | The gamma-value for the color 'red' used for color-correction. /// Values greater than one will make colors brighter, values less than one will make colors darker. |
g | float | The gamma-value for the color 'green' used for color-correction. Values /// greater than one will make colors brighter, values less than one will make colors darker. |
b | float | The gamma-value for the color 'blue' used for color-correction. Values /// greater than one will make colors brighter, values less than one will make colors darker. |
Результат | System |