You are here: Start » AVL.NET » AVL.CutImageIntoTiles
Generates array of image tiles, which are cut from inImage.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CutImageIntoTiles ( AvlNet.Image inImage, int inTileWidth, int? inTileHeight, int? inHorizontalStep, int? inVerticalStep, bool inOverflowControl, IList<AvlNet.Image> outImageTiles )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image to be cut into tiles. | |||
inTileWidth | int | <1, INF> | 1 | Demanded tile width. Default value: 1. | |
inTileHeight | int? | <1, INF> | Demanded tile height; equals inTileWidth when set to Auto. Default value: atl::NIL. | ||
inHorizontalStep | int? | <1, INF> | Defines horizontal space between consecutive tiles; defaults to tile width. Can be used to produce overlapping tiles. Default value: atl::NIL. | ||
inVerticalStep | int? | <1, INF> | Defines vertical space between consecutive tiles; defaults to tile height. Can be used to produce overlapping tiles. Default value: atl::NIL. | ||
inOverflowControl | bool | When set to true, overflowing tiles will be removed form outTiles array. | |||
outImageTiles | System.Collections.Generic.IList<AvlNet.Image> | Resulting image tiles. |
Description
Generates an array of image tiles, which are cut from inImage.