SetGamma

ImageAttributes.SetGamma method (1 of 2)

Sets the gamma value for the default category.

public void SetGamma(float gamma)
ParameterTypeDescription
gammaSingleThe gamma correction value.

See Also


ImageAttributes.SetGamma method (2 of 2)

Sets the gamma value for a specified category.

public void SetGamma(float gamma, ColorAdjustType type)
ParameterTypeDescription
gammaSingleThe gamma correction value.
typeColorAdjustTypeAn element of the ColorAdjustType enumeration that specifies the category for which the gamma value is set.

See Also