[]
Represents a luminance effect.
Brightness linearly shifts all colors closer to white or black.
Contrast scales all colors to be either closer or further apart.
public class Luminance : ImageEffect
Gets or sets the value to change the brightness.
Allowed values are from -1 (darkest) to 1 (lightest), inclusive.
The default is 0.
public float Brightness { get; set; }
Gets or sets the value to change the contrast.
Allowed values are from -1 to 1, inclusive.
The default is 0.
public float Contrast { get; set; }
protected bool Equals(Luminance other)
other
Luminancepublic override bool Equals(object obj)
obj
objectpublic override int GetHashCode()