SetGamma

ImageAttributes.SetGamma method (1 of 2)

Sets the gamma value for the default category.

public void SetGamma(float gamma)
Parameter Type Description
gamma Single The 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)
Parameter Type Description
gamma Single The gamma correction value.
type ColorAdjustType An element of the ColorAdjustType enumeration that specifies the category for which the gamma value is set.

See Also