You are here: Start » AVL.NET » Invoke.InscribeRegionInRegion

Invoke.InscribeRegionInRegion

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void InscribeRegionInRegion
(
	Avl.Region inTargetRegion,
	Avl.Region inSourceRegion,
	Avl.ShiftType inPossibleShift,
	Avl.FitType inFitType,
	Conditional<int> outShiftX,
	Conditional<int> outShiftY,
	Conditional<Avl.Region> outShiftedRegion
)

Parameters

Name Type Range Default Description
inTargetRegionAvl.RegionRegion to contain source region.
inSourceRegionAvl.RegionRegion to be shifted.
inPossibleShiftAvl.ShiftTypePossible directions of shift.
inFitTypeAvl.FitTypeDetermines if the common border length should be maximized.
outShiftXAtl.Conditional<int>X coordinate of the shift.
outShiftYAtl.Conditional<int>Y coordinate of the shift.
outShiftedRegionAtl.Conditional<Avl.Region>Shifted source region.

See also