Tesla Graphics Engine Documentation (January 2012)
AdjustContrast Method (value, contrast)
TeslaTesla.MathColorAdjustContrast(Color, Single)
Adjusts the contrast of the color. If the contrast is 0, the color is 50% gray and if its 1 the original color is returned.
Declaration Syntax
C#
public static Color AdjustContrast(
	Color value,
	float contrast
)
Parameters
value (Color)
Source color
contrast (Single)
Contrast amount
Return Value
Adjusted color

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)