Click or drag to resize
Ab4d.SharpEngine logo

Color4AdjustContrast(Color4, Single) Method

Adjusts the contrast of a color.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Color4 AdjustContrast(
	 in Color4 value,
	float contrast
)

Parameters

value  Color4
The color whose contrast is to be adjusted.
contrast  Single
The amount by which to adjust the contrast.

Return Value

Color4
The adjusted color.
See Also