Visual Basic (Declaration) | |
---|---|
Public Property KernelPos2 As Double |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EdgeDetectEffect Dim value As Double instance.KernelPos2 = value value = instance.KernelPos2 |
C# | |
---|---|
public double KernelPos2 {get; set;} |
Property Value
The value of the second edge detection matrix item. Default value is 2.0.For XAML example, refer to EdgeDetectEffect.
For C#/VB examples, refer to EdgeDetectEffect.
This class uses a a 3 X 1 kernal matrix to produce the effect. The matrix will be constructed by the KernelPos1, KernelPos2 and KernelPos3 properties.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)