[]
        
(Showing Draft Content)

C1.Util.DX.ColorF.AdjustContrast

AdjustContrast Method

AdjustContrast(ColorF, float)

Adjusts the contrast of a color.

Declaration
public static ColorF AdjustContrast(ColorF value, float contrast)
Parameters
Type Name Description
ColorF value

The color whose contrast is to be adjusted.

float contrast

The amount by which to adjust the contrast.

Returns
Type Description
ColorF

The adjusted color.