You are here: Start » AVL.NET » Function Reference » Image » Image Tiling » AVL.CreateImageTiles

AVL.CreateImageTiles

Generates an array of regions and an array of boxes covering the area of an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateImageTiles
(
	AvlNet.Size inImageSize,
	int inTileWidth,
	int? inTileHeight,
	int? inHorizontalStep,
	int? inVerticalStep,
	AvlNet.OverflowControl inOverflowControl,
	IList<AvlNet.Region> outTileRegions,
	IList<AvlNet.Box> outTileBoxes,
	out int outRowCount,
	out int outColumnCount
)

Parameters

Name Type Range Default Description
inImageSizeAvlNet.SizeFormat of image for which tiles will be produced.
inTileWidthint<1, INF>32Demanded tile width. Default value: 32.
inTileHeightint?<1, INF>Demanded tile height; equals inTileWidth when set to Auto. Default value: atl::NIL.
inHorizontalStepint?<1, INF>Defines horizontal space between consecutive tiles; defaults to tile width. Can be used to produce overlapping tiles. Default value: atl::NIL.
inVerticalStepint?<1, INF>Defines vertical space between consecutive tiles; defaults to tile height. Can be used to produce overlapping tiles. Default value: atl::NIL.
inOverflowControlAvlNet.OverflowControlKeepLastDefine what to do when overflowing tiles are present. Default value: KeepLast.
outTileRegionsSystem.Collections.Generic.IList<AvlNet.Region>Array containing produced tiles.
outTileBoxesSystem.Collections.Generic.IList<AvlNet.Box>Array containing produced tiles.
outRowCountintNumber of generated tiles rows.
outColumnCountintNumber of generated tiles per row.

Function Overrides

See also