[]
Represents a bi-level (black/white) effect.
Input colors whose luminance is less than the specified Threshold value are changed to black.
Input colors whose luminance are greater than or equal the specified value are changed to white.
The alpha effect values are unaffected by this effect.
public class BiLevel : ImageEffect
Gets or sets the luminance threshold for the Bi-Level effect.
Values greater than or equal to the threshold are set to white.
Values lesser than the threshold are set to black.
Allowed values are from 0 to 1, inclusive.
The default is 0.
public float Threshold { get; set; }
protected bool Equals(BiLevel other)
other
BiLevelpublic override bool Equals(object obj)
obj
objectpublic override int GetHashCode()