You are here: Start » AVL.NET » AVL.DrawGridImage(AvlNet.Image, AvlNet.Image, int, int)

AVL.DrawGridImage(AvlNet.Image, AvlNet.Image, int, int)

Draws an image as a tile on an image considered to be a grid of tiles.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawGridImage(
	ref AvlNet.Image ioImage,
	AvlNet.Image inTileImage,
	int inColumnIndex,
	int inRowIndex
)

Parameters

ioImage
Type: AvlNet.Image
inTileImage
Type: AvlNet.Image
Image to be pasted to the grid
inColumnIndex
Type: System.Int32
Column index in the grid
inRowIndex
Type: System.Int32
Row index in the grid

Description

The operation supports drawing image grids composed of equally sized images. The filters draws single inImage on the inImage at the location being the selected multiple of inTileImage dimensions.

Parameters pair inColumnIndex and inRowIndex set to (0, 0) draws inTileImage at the location of (0,0) pixels of the inImage.

Examples

Four consecutive instances of the DrawGridImage used to plot an image grid. Each of the filters receives different inImage and different pair of the inColumnIndex, inRowIndex parameters - accordingly: (0,0) (0,1) (1,0) (1,1).

See also