ContrastAdjustEffect
Class
An effect that controls brightness and contrast.
Definition
Namespace:Telerik.Windows.Media.Imaging.ShaderEffects
Assembly:Telerik.Windows.Controls.ImageEditor.dll
Syntax:
C#
public class ContrastAdjustEffect : ShaderEffectBase
Inheritance: objectShaderEffectBaseContrastAdjustEffect
Inherited Members
Constructors
C#
public ContrastAdjustEffect()
Fields
BrightnessProperty
DependencyProperty
C#
public static readonly DependencyProperty BrightnessProperty
ContrastProperty
DependencyProperty
C#
public static readonly DependencyProperty ContrastProperty
InputProperty
DependencyProperty
C#
public static readonly DependencyProperty InputProperty
Properties
C#
[ShaderNumericProperty(0, -1, 1, ResourceKey = "ImageEditor_Effect_Brightness")]
public double Brightness { get; set; }
C#
[ShaderNumericProperty(1.5, 0, 2, ResourceKey = "ImageEditor_Effect_ContrastAdjust")]
public double Contrast { get; set; }
Input
Brush
C#
public Brush Input { get; set; }