You are here: Start » AVL.NET » AVL.TranslateImage(AvlNet.Image, AvlNet.Pixel, int, int, bool, AvlNet.Image)

AVL.TranslateImage(AvlNet.Image, AvlNet.Pixel, int, int, bool, AvlNet.Image)

Translates an image by a vector, without changing its dimensions.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void TranslateImage(
	AvlNet.Image inImage,
	AvlNet.Pixel inBorder,
	int inDeltaX,
	int inDeltaY,
	bool inInverse,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inBorder
Type: AvlNet.Pixel
Color used to fill pixels outside of the translated image
inDeltaX
Type: System.Int32
Horizontal shift
inDeltaY
Type: System.Int32
Vertical shift
inInverse
Type: System.Boolean
Switches to the inverse operation
outImage
Type: AvlNet.Image
Output image

Examples

TranslateImage performed on the sample image.

See also