Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
ShearCommand Class
See Also  Members  
Leadtools.ImageProcessing Namespace : ShearCommand Class




Moves the corners of an image in the fashion of a parallelogram.

Object Model


Syntax

Visual Basic (Declaration) 
Public Class ShearCommand 
   Inherits RasterCommand
   Implements IRasterCommand 
Visual Basic (Usage)Copy Code
Dim instance As ShearCommand
C# 
public class ShearCommand : RasterCommand, IRasterCommand  
Managed Extensions for C++ 
public __gc class ShearCommand : public RasterCommand, IRasterCommand  
C++/CLI 
public ref class ShearCommand : public RasterCommand, IRasterCommand  

Example

This example shears the image 15 degrees vertically, filling extra space with blue.

Remarks

You specify an angle of slant, horizontal or vertical shear, and the fill color for the created space. The following is a horizontal example:

The angle is expressed in hundredths of degrees, with a limit of 4500 (45 degrees).

For more information, refer to Processing an Image.

Inheritance Hierarchy

System.Object
   Leadtools.ImageProcessing.RasterCommand
      Leadtools.ImageProcessing.ShearCommand

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also