You are here: Start » AVL.NET » AVL.TranslateImage Method

AVL.TranslateImage Method

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

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inBorderAvlNet.PixelColor used to fill pixels outside of the translated image.
inDeltaXintHorizontal shift.
inDeltaYintVertical shift.
inInverseboolSwitches to the inverse operation.
outImageAvlNet.ImageOutput image.

Examples

TranslateImage performed on the sample image.

See also