You are here: Start » AVL.NET » Function Reference » Image » Image Drawing » AVL.DrawGridImage

AVL.DrawGridImage

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DrawGridImage
(
	AvlNet.Image ioImage,
	AvlNet.Image inTileImage,
	int inColumnIndex,
	int inRowIndex,
	int? inGridWidth,
	int? inGridHeight
)

Parameters

Name Type Range Default Description
ioImageAvlNet.Image
inTileImageAvlNet.ImageImage to be pasted to the grid.
inColumnIndexintColumn index in the grid.
inRowIndexintRow index in the grid.
inGridWidthint?<1, INF>
inGridHeightint?<1, INF>

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