ImageMan.Net Version 3 Summer 2012 Release
KernelOffset Property
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > FilterCommand Class : KernelOffset Property





Glossary Item Box

Gets or Sets the Kernel offset for adjusting color

Syntax

Visual Basic (Declaration) 
Public Property KernelOffset As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As FilterCommand
Dim value As System.Integer
 
instance.KernelOffset = value
 
value = instance.KernelOffset
C# 
public System.int KernelOffset {get; set;}
JScript 
public function get,set KernelOffset : System.int
Managed Extensions for C++ 
public: __property System.int get_KernelOffset();
public: __property void set_KernelOffset( 
   System.int value
);
C++/CLI 
public:
property System.int KernelOffset {
   System.int get();
   void set (    System.int value);
}

Remarks

The Offset parameter is added to the resulting color value to "push" its value off by that amount. The embossing kernel uses a value of 128 to push the colors into the extreme. This is what gives the grayed metallic background effect since the resulting values often go over the 255 limit and therefore get clamped.

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

© 2014 Data Techniques, Inc. All Rights Reserved.