Click or drag to resize
Ab4d.SharpEngine logo

Color4AdjustContrast(Color4, Single, Color4) Method

Note: This API is now obsolete.

Adjusts the contrast of a color.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
[ObsoleteAttribute("Method with ref parameters are obsolete and will be removed in one of the future version. Use the method with the same name and with in parameter instead.")]
public static void AdjustContrast(
	ref Color4 value,
	float contrast,
	out Color4 result
)

Parameters

value  Color4
The color whose contrast is to be adjusted.
contrast  Single
The amount by which to adjust the contrast.
result  Color4
When the method completes, contains the adjusted color.
See Also