You are here: Start » AVL.NET » AVS.TrimImageToRegion Method

AVS.TrimImageToRegion Method

Trims an image to the area of the specified region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void TrimImageToRegion
(
	AvlNet.Image inImage,
	AvlNet.Region inRegion,
	AvlNet.Pixel inBorderColor,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRegionAvlNet.RegionInput region.
inBorderColorAvlNet.PixelColor used for locations outside the region.
outImageAvlNet.ImageOutput image.

See also