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

AVL.CutImageIntoTiles Method

Generates array of image tiles, which are cut from inImage.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CutImageIntoTiles(
	AvlNet.Image inImage,
	int inTileWidth,
	int? inTileHeight,
	int? inHorizontalStep,
	int? inVerticalStep,
	bool inOverflowControl,
	out AvlNet.Image[] outImageTiles
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to be cut into tiles.
inTileWidthint<1, INF>1Demanded tile width. Default value: 1.
inTileHeightint?<1, INF>Demanded tile height; equals inTileWidth when set to Auto. Default value: atl::NIL, or null.
inHorizontalStepint?<1, INF>Defines horizontal space between consecutive tiles; defaults to tile width. Can be used to produce overlapping tiles. Default value: atl::NIL, or null.
inVerticalStepint?<1, INF>Defines vertical space between consecutive tiles; defaults to tile height. Can be used to produce overlapping tiles. Default value: atl::NIL, or null.
inOverflowControlboolWhen set to true, overflowing tiles will be removed form outTiles array.
outImageTilesAvlNet.ImageResulting image tiles.

Description

Generates an array of image tiles, which are cut from inImage.

Examples

CutImageIntoTiles performed on the sample image with inOverflowControl = false.

See also