Nevron .NET Vision
Nevron.Chart Namespace / NSettings Class / JitterMode Property
Example


In This Topic
    JitterMode Property
    In This Topic
    Controls the jittering mode (full context antialiasing) feature of the control.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Enable the jittering (full context antialiasing) feature of the control.")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property JitterMode As JitterMode
    'Usage
     
    
    Dim instance As NSettings
    Dim value As JitterMode
     
    instance.JitterMode = value
     
    value = instance.JitterMode
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Enable the jittering (full context antialiasing) feature of the control.")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [System.Xml.Serialization.XmlAttribute()]
    public JitterMode JitterMode {get; set;}
    Remarks
    Jittering or blurring is an efficient way to antialias the whole context including polygons. In some cases it can also produce images with better quality that antialiasing because it antialiases polygons also. The idea behind jittering is very simple and this why this special visual effect is so effective. Instead of rendering the context only once the control renders it several times and produces different image samples of the image. All these samples have a small offset along the X and Y directions. The samples are added together with weight coefficients to produce the final image. Jittering is turned off by default.
    Example
    The following code enables jittering with 4 samples and four pixel deviation 2.
    NChartControl.Settings.JitterMode = JitterMode.Enabled;
    NChartControl.Settings.JitteringDeviation = 2
    NChartControl.Settings.JitteringSteps = 4
    NChartControl.Settings.JitterMode = JitterMode.Enabled
    NChartControl.Settings.JitteringDeviation = 2;
    NChartControl.Settings.JitteringSteps = 4;
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also