ImageGear Professional v18.2 > API Reference Guide > Effects Component API Reference > Effects Component Objects > IGEffectsCtl Control > IGEffectsCtl Methods > AddMotion Method |
Makes the image referenced by pPage object look as though it was moving when it was captured. The amount of motion depends on the Extent parameter. The larger Extent makes the motion appear faster. Use Direction to select in which direction the image appears to be moving toward.
This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI Property. By default ROI is set to the entire image.
AddMotion (pPage As IGPage, Extent As Long, Direction As
enumIGDirections)
Name | Description |
---|---|
pPage | Reference to IGPage Object for which the motion happens. |
Extent | Amount of motion to be applied. When Direction is set to "S, W, E, N", the correct range for this variable is 2 - 15. When Direction is set to "SE, NE, NW, SW", the correct range for this variable is 3 - 22. It determines the extent to which the pixels will be "moved" or "smeared", or literally how many pixel lengths each pixel will "move over". |
Direction | Any value of enumIGDirections Enumeration specifying compass direction. |
N/A
8-bit gray level, 9-16-bit gray level, 24, and 32
Ip_Fx