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

AVS.InscribeRegionInRegion Method

Shifts source region so that it is contained in target region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void InscribeRegionInRegion
(
	AvlNet.Region inTargetRegion,
	AvlNet.Region inSourceRegion,
	AvlNet.ShiftType inPossibleShift,
	AvlNet.FitType inFitType,
	out int? outShiftX,
	out int? outShiftY,
	INullable<AvlNet.Region> outShiftedRegion
)

Parameters

Name Type Range Default Description
inTargetRegionAvlNet.RegionRegion to contain source region.
inSourceRegionAvlNet.RegionRegion to be shifted.
inPossibleShiftAvlNet.ShiftTypePossible directions of shift.
inFitTypeAvlNet.FitTypeDetermines if the common border length should be maximized.
outShiftXint?X coordinate of the shift.
outShiftYint?Y coordinate of the shift.
outShiftedRegionAvlNet.INullable<AvlNet.Region>Shifted source region. This parameter cannot be null.

See also