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

AVL.CropRegion Method

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

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inSelectionAvlNet.BoxBox defining the range of cropping.
outRegionAvlNet.RegionOutput region.

Examples

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

See also