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

AVL.CreateImageTiles_AsBoxes

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateImageTiles_AsBoxes
(
	AvlNet.Size inImageSize,
	int inTileWidth,
	AvlNet.OverflowControl inOverflowControl,
	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.
inOverflowControlAvlNet.OverflowControlKeepLastDefine what to do when overflowing tiles are present. Default value: KeepLast.
outTileBoxesSystem.Collections.Generic.IList<AvlNet.Box>Array containing produced tiles.
outRowCountintNumber of generated tiles rows.
outColumnCountintNumber of generated tiles per row.

Description

Creates an array of boxes.

Examples

CreateImageTiles_asBoxes with inTileWidth = 50 and inOverflowControl = true.

Function Overrides

See also