You are here: Start » AVL.NET » AVL.CropRegion(AvlNet.Region, AvlNet.Box, AvlNet.Region)

AVL.CropRegion(AvlNet.Region, AvlNet.Box, AvlNet.Region)

Creates a region from a rectangular fragment of another one.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CropRegion(
	AvlNet.Region inRegion,
	AvlNet.Box inSelection,
	out AvlNet.Region outRegion
)

Parameters

inRegion
Type: AvlNet.Region
Input region
inSelection
Type: AvlNet.Box
Box defining the range of cropping
outRegion
Type: AvlNet.Region
Output region

Examples

CropRegion performed on the sample region with inSelection = Box(0,0,200,200).

See also