ImageGear Professional for Windows ActiveX
Shear Method

Description:

Applies a shearing effect to an image, moving the image rasters or columns according to the specified offsets.

Syntax:

Sub Shear(Page As IGPage, Points As IGDataArray, FillStyle As
enumIGShearFillStyle, Interpolate As Boolean, Vertical As
Boolean)

Parameters:

Name Description
Page IGPage Object to which to apply the shear effect.
Points The array of offsets to move the image by. Every offset is in the range -1 to 1. Negative values shift the raster/column to the left, while positive values shift it to the right. The number of offsets is equal to the image width or height depending on the direction of movement (horizontal or vertical).
FillStyle Specifies how the empty image area is filled, as an enumIGShearFillStyle Enumeration value.
Interpolate If True, interpolation is used to smooth shifted pixel values.
Vertical If True, the direction of motion is vertical. Otherwise, the direction is horizontal.

Return Value:

N/A

Bits Per Pixel:

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback